summaryrefslogtreecommitdiff
path: root/vcs-svn/repo_tree.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-12-10 10:00:55 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-03-07 07:43:58 (GMT)
commit723b7a2789d66c1365390cc9b9213e34ab8513d7 (patch)
treedb9f10cd512bb6550a8bfda52e486e6af3545d7d /vcs-svn/repo_tree.h
parent7e11902c995715836dec140eb55cfef1d24334bb (diff)
downloadgit-723b7a2789d66c1365390cc9b9213e34ab8513d7.zip
git-723b7a2789d66c1365390cc9b9213e34ab8513d7.tar.gz
git-723b7a2789d66c1365390cc9b9213e34ab8513d7.tar.bz2
vcs-svn: eliminate repo_tree structure
Rely on fast-import for information about previous revs. This requires always setting up backward flow of information, even for v2 dumps. On the plus side, it simplifies the code by quite a bit and opens the door to further simplifications. [db: adjusted to support final version of the cat-blob patch] [jn: avoiding hard-coding git's name for the empty tree for portability to other backends] 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>
Diffstat (limited to 'vcs-svn/repo_tree.h')
-rw-r--r--vcs-svn/repo_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/repo_tree.h b/vcs-svn/repo_tree.h
index 11d48c2..d690784 100644
--- a/vcs-svn/repo_tree.h
+++ b/vcs-svn/repo_tree.h
@@ -14,7 +14,7 @@
uint32_t next_blob_mark(void);
void repo_copy(uint32_t revision, const uint32_t *src, const uint32_t *dst);
void repo_add(uint32_t *path, uint32_t mode, uint32_t blob_mark);
-uint32_t repo_read_path(const uint32_t *path);
+const char *repo_read_path(const uint32_t *path);
uint32_t repo_read_mode(const uint32_t *path);
void repo_delete(uint32_t *path);
void repo_commit(uint32_t revision, uint32_t author, char *log, uint32_t uuid,