diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-22 20:51:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-22 20:51:07 -0700 |
commit | 785d6989dac6a61eabdc06c781ee0f47d10f36c0 (patch) | |
tree | 1a0f9d8a139d554d78955061dacf0355d224cb80 /vcs-svn/repo_tree.h | |
parent | 1ea9f9d6c28caf886747ca256e9d39d24f03d229 (diff) | |
parent | 41b9dd9d4f2f32f8450af59c30f3a7a2fc5a8cc7 (diff) | |
download | git-785d6989dac6a61eabdc06c781ee0f47d10f36c0.tar.gz git-785d6989dac6a61eabdc06c781ee0f47d10f36c0.tar.xz |
Merge branch 'svn-fe' of git://repo.or.cz/git/jrn
* 'svn-fe' of git://repo.or.cz/git/jrn:
vcs-svn: use strchr to find RFC822 delimiter
vcs-svn: implement perfect hash for top-level keys
vcs-svn: implement perfect hash for node-prop keys
vcs-svn: use strbuf for author, UUID, and URL
vcs-svn: use strbuf for revision log
vcs-svn: improve reporting of input errors
vcs-svn: make buffer_copy_bytes return length read
vcs-svn: make buffer_skip_bytes return length read
vcs-svn: improve support for reading large files
vcs-svn: allow input errors to be detected promptly
vcs-svn: simplify repo_modify_path and repo_copy
vcs-svn: handle_node: use repo_read_path
vcs-svn: introduce repo_read_path to check the content at a path
Diffstat (limited to 'vcs-svn/repo_tree.h')
-rw-r--r-- | vcs-svn/repo_tree.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/vcs-svn/repo_tree.h b/vcs-svn/repo_tree.h index 68baeb582..a1b0e8765 100644 --- a/vcs-svn/repo_tree.h +++ b/vcs-svn/repo_tree.h @@ -12,12 +12,14 @@ #define REPO_MAX_PATH_DEPTH 1000 uint32_t next_blob_mark(void); -uint32_t repo_copy(uint32_t revision, uint32_t *src, uint32_t *dst); +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_modify_path(uint32_t *path, uint32_t mode, uint32_t blob_mark); +uint32_t 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, - uint32_t url, long unsigned timestamp); +void repo_commit(uint32_t revision, const char *author, + char *log, const char *uuid, const char *url, + long unsigned timestamp); void repo_diff(uint32_t r1, uint32_t r2); void repo_init(void); void repo_reset(void); |