git/vcs-svn
Jonathan Nieder 9e8c532108 vcs-svn: Allow change nodes for root of tree (/)
It is not uncommon for a svn repository to include change records for
properties at the top level of the tracked tree:

	Node-path:
	Node-kind: dir
	Node-action: change
	Prop-delta: true
	Prop-content-length: 43
	Content-length: 43

	K 10
	svn:ignore
	V 11
	build-area

	PROPS-END

Unfortunately a recent svn-fe change (vcs-svn: More dump format sanity
checks, 2010-11-19) causes such nodes to be rejected with the error
message

	fatal: invalid dump: path to be modified is missing

The repo_tree module does not keep a dirent for the root of the tree.
Add a block to the dump parser to take care of this case.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-12-07 16:04:56 -08:00
..
fast_export.c vcs-svn: Fix some printf format compiler warnings 2010-09-12 10:24:55 -07:00
fast_export.h Infrastructure to write revisions in fast-export format 2010-08-14 19:35:37 -07:00
LICENSE SVN dump parser 2010-08-14 19:35:38 -07:00
line_buffer.c Add stream helper library 2010-08-14 19:35:37 -07:00
line_buffer.h Add stream helper library 2010-08-14 19:35:37 -07:00
line_buffer.txt Add stream helper library 2010-08-14 19:35:37 -07:00
obj_pool.h Add memory pool library 2010-08-14 19:35:37 -07:00
repo_tree.c vcs-svn: Combine repo_replace and repo_modify functions 2010-11-24 14:51:43 -08:00
repo_tree.h vcs-svn: Combine repo_replace and repo_modify functions 2010-11-24 14:51:43 -08: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: Allow change nodes for root of tree (/) 2010-12-07 16:04:56 -08:00
svndump.h vcs-svn: Check for errors from open() 2010-11-24 14:51:42 -08:00
trp.h treap: style fix 2010-08-14 19:35:38 -07:00
trp.txt Add treap implementation 2010-08-14 19:35:37 -07:00