vcs-svn: simplify repo_modify_path and repo_copy
commite75316de5340e0ba3ac75937c59fa2c9d6ab48d7
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 10 Dec 2010 06:53:54 +0000 (10 00:53 -0600)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 7 Mar 2011 06:56:50 +0000 (7 00:56 -0600)
tree9b3b17b1f662c3a59db3fa5edbc4e0d4add851b1
parent5a38b186d3ac5840d6ae78511d6dccab8367f242
vcs-svn: simplify repo_modify_path and repo_copy

Restrict the repo_tree API to functions that are actually needed.

 - decouple reading the mode and content of dirents from other
   operations.
 - remove repo_modify_path.  It is only used to read the mode from
   dirents.
 - remove the ability to use repo_read_mode on a missing path.  The
   existing code only errors out in that case, anyway.

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>
vcs-svn/repo_tree.c
vcs-svn/repo_tree.h
vcs-svn/svndump.c