git-commit-vandalism/vcs-svn
Jonathan Nieder 5a38b186d3 vcs-svn: handle_node: use repo_read_path
svn-fe processes each commit in two stages: first decide on the
correct content for all paths and export the relevant blobs, then
export a commit with the result.

But we can keep less state and simplify svn-fe a great deal by
exporting the commit in one step: use 'inline' blobs for each path and
remember nothing.  This way, the repo_tree structure could be
eliminated, and we would get support for incremental imports 'for
free'.

Reorganize handle_node along these lines.  This is just a code
cleanup; the changes in repo_tree and handle_revision will come later.

[db: backported to apply without text delta support]

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2011-03-07 00:56:50 -06:00
..
fast_export.c vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
fast_export.h vcs-svn: teach line_buffer to handle multiple input files 2011-02-26 04:57:59 -06:00
LICENSE SVN dump parser 2010-08-14 19:35:38 -07:00
line_buffer.c vcs-svn: teach line_buffer about temporary files 2011-02-26 04:59:37 -06:00
line_buffer.h vcs-svn: teach line_buffer about temporary files 2011-02-26 04:59:37 -06:00
line_buffer.txt vcs-svn: teach line_buffer about temporary files 2011-02-26 04:59:37 -06:00
obj_pool.h Add memory pool library 2010-08-14 19:35:37 -07:00
repo_tree.c vcs-svn: introduce repo_read_path to check the content at a path 2011-03-07 00:56:50 -06:00
repo_tree.h vcs-svn: introduce repo_read_path to check the content at a path 2011-03-07 00:56:50 -06:00
string_pool.c Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.h Add string-specific memory pool 2010-08-14 19:35:37 -07:00
string_pool.txt Add string-specific memory pool 2010-08-14 19:35:37 -07:00
svndump.c vcs-svn: handle_node: use repo_read_path 2011-03-07 00:56:50 -06:00
svndump.h vcs-svn: Check for errors from open() 2010-11-24 14:51:42 -08:00
trp.h treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00
trp.txt treap: make treap_insert return inserted node 2010-12-07 16:03:55 -08:00