git/vcs-svn
Jonathan Nieder b8f43b120b vcs-svn: move remaining repo_tree functions to fast_export.h
These used to be for manipulating the in-memory repo_tree structure,
but nowadays they are convenience wrappers to handle a few git-vs-svn
mismatches:

 1. Git does not track empty directories but Subversion does.  When
    looking up a path in git that Subversion thinks exists and finding
    nothing, we can safely assume that the path represents a
    directory.  This is needed when a later Subversion revision
    modifies that directory.

 2. Subversion allows deleting a file by copying.  In Git fast-import
    we have to handle that more explicitly as a deletion.

These are details of the tool's interaction with git fast-import.
Move them to fast_export.c, where other such details are handled.

This way the function names do not start with a repo_ prefix that
would clash with the repository object introduced in
v2.14.0-rc0~38^2~16 (repository: introduce the repository object,
2017-06-22) or an svn_ prefix that would clash with libsvn (in case
someone wants to link this code with libsvn some day).

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-08-23 10:41:26 -07:00
..
fast_export.c vcs-svn: move remaining repo_tree functions to fast_export.h 2017-08-23 10:41:26 -07:00
fast_export.h vcs-svn: move remaining repo_tree functions to fast_export.h 2017-08-23 10:41:26 -07:00
LICENSE Merge branch 'db/delta-applier' into db/text-delta 2011-05-26 02:27:48 -05:00
line_buffer.c vcs-svn: use error_errno() 2016-05-09 12:29:08 -07:00
line_buffer.h vcs-svn: drop no-op reset methods 2012-07-05 23:26:51 -05:00
line_buffer.txt vcs-svn: remove buffer_read_string 2011-03-26 00:17:35 -05:00
sliding_window.c vcs-svn: use error_errno() 2016-05-09 12:29:08 -07:00
sliding_window.h vcs-svn: cap number of bytes read from sliding view 2011-06-15 02:15:22 -05:00
svndiff.c vcs-svn: use error_errno() 2016-05-09 12:29:08 -07:00
svndiff.h vcs-svn: skeleton of an svn delta parser 2011-03-27 22:41:38 -05:00
svndump.c vcs-svn: move remaining repo_tree functions to fast_export.h 2017-08-23 10:41:26 -07:00
svndump.h remote-svn: add incremental import 2012-10-07 14:10:17 -07:00