summaryrefslogtreecommitdiff
path: root/vcs-svn/repo_tree.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2017-08-21 00:00:18 +0000
committerJunio C Hamano <gitster@pobox.com>2017-08-20 20:55:39 -0700
commit15d1d0951e60903263f90af912738ad60ac43bb5 (patch)
treeef006e837d0bab771945123bf4a56d29addd5874 /vcs-svn/repo_tree.c
parent36f63b50e6c1d7336d3a01737d9210d9d260ed36 (diff)
downloadgit-bc/vcs-svn-cleanup.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/repo_tree.c')
-rw-r--r--vcs-svn/repo_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcs-svn/repo_tree.c b/vcs-svn/repo_tree.c
index 67d27f0b6c..d77cb0ada7 100644
--- a/vcs-svn/repo_tree.c
+++ b/vcs-svn/repo_tree.c
@@ -8,7 +8,7 @@
#include "repo_tree.h"
#include "fast_export.h"
-const char *repo_read_path(const char *path, uint32_t *mode_out)
+const char *svn_repo_read_path(const char *path, uint32_t *mode_out)
{
int err;
static struct strbuf buf = STRBUF_INIT;
@@ -25,7 +25,7 @@ const char *repo_read_path(const char *path, uint32_t *mode_out)
return buf.buf;
}
-void repo_copy(uint32_t revision, const char *src, const char *dst)
+void svn_repo_copy(uint32_t revision, const char *src, const char *dst)
{
int err;
uint32_t mode;
@@ -42,7 +42,7 @@ void repo_copy(uint32_t revision, const char *src, const char *dst)
fast_export_modify(dst, mode, data.buf);
}
-void repo_delete(const char *path)
+void svn_repo_delete(const char *path)
{
fast_export_delete(path);
}