vcs-svn: simplify repo_modify_path and repo_copy
commit471b749663ab150fe2675485894829bb8c3a3ff7
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)
treebec3c32786c1f70170d153418ed6739b9baf2f38
parent4350417ad33632f9760dd915bd8cee771b56c5c3
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>
repo_tree.c
repo_tree.h
svndump.c