diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-08-21 00:00:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-20 20:55:39 -0700 |
commit | 15d1d0951e60903263f90af912738ad60ac43bb5 (patch) | |
tree | ef006e837d0bab771945123bf4a56d29addd5874 /vcs-svn/svndump.c | |
parent | 36f63b50e6c1d7336d3a01737d9210d9d260ed36 (diff) | |
download | git-15d1d0951e60903263f90af912738ad60ac43bb5.tar.gz |
vcs-svn: rename repo functions to "svn_repo"bc/vcs-svn-cleanup
There were several functions in the Subversion code that started with
"repo_". This namespace is also used by the Git struct repository code.
Rename these functions to start with "svn_repo" to avoid any future
conflicts.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'vcs-svn/svndump.c')
-rw-r--r-- | vcs-svn/svndump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcs-svn/svndump.c b/vcs-svn/svndump.c index e4b395963b..7da84b2aab 100644 --- a/vcs-svn/svndump.c +++ b/vcs-svn/svndump.c @@ -225,15 +225,15 @@ static void handle_node(void) if (have_text || have_props || node_ctx.srcRev) die("invalid dump: deletion node has " "copyfrom info, text, or properties"); - repo_delete(node_ctx.dst.buf); + svn_repo_delete(node_ctx.dst.buf); return; } if (node_ctx.action == NODEACT_REPLACE) { - repo_delete(node_ctx.dst.buf); + svn_repo_delete(node_ctx.dst.buf); node_ctx.action = NODEACT_ADD; } if (node_ctx.srcRev) { - repo_copy(node_ctx.srcRev, node_ctx.src.buf, node_ctx.dst.buf); + svn_repo_copy(node_ctx.srcRev, node_ctx.src.buf, node_ctx.dst.buf); if (node_ctx.action == NODEACT_ADD) node_ctx.action = NODEACT_CHANGE; } @@ -249,7 +249,7 @@ static void handle_node(void) old_data = NULL; } else if (node_ctx.action == NODEACT_CHANGE) { uint32_t mode; - old_data = repo_read_path(node_ctx.dst.buf, &mode); + old_data = svn_repo_read_path(node_ctx.dst.buf, &mode); if (mode == REPO_MODE_DIR && type != REPO_MODE_DIR) die("invalid dump: cannot modify a directory into a file"); if (mode != REPO_MODE_DIR && type == REPO_MODE_DIR) |