Skip to content

Commit 9b0db33

Browse files
jrngitster
authored andcommitted
vcs-svn: remove repo_delete wrapper function
Since v1.7.10-rc0~118^2~4^2~4^2~3 (vcs-svn: pass paths through to fast-import, 2010-12-13) this is an alias for fast_export_delete. Remove the unnecessary layer of indirection. No functional change intended. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 21c7c2d commit 9b0db33

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

vcs-svn/repo_tree.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,3 @@ void svn_repo_copy(uint32_t revision, const char *src, const char *dst)
4141
}
4242
fast_export_modify(dst, mode, data.buf);
4343
}
44-
45-
void svn_repo_delete(const char *path)
46-
{
47-
fast_export_delete(path);
48-
}

vcs-svn/repo_tree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
void svn_repo_copy(uint32_t revision, const char *src, const char *dst);
55
const char *svn_repo_read_path(const char *path, uint32_t *mode_out);
6-
void svn_repo_delete(const char *path);
76

87
#endif

vcs-svn/svndump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ static void handle_node(void)
225225
if (have_text || have_props || node_ctx.srcRev)
226226
die("invalid dump: deletion node has "
227227
"copyfrom info, text, or properties");
228-
svn_repo_delete(node_ctx.dst.buf);
228+
fast_export_delete(node_ctx.dst.buf);
229229
return;
230230
}
231231
if (node_ctx.action == NODEACT_REPLACE) {
232-
svn_repo_delete(node_ctx.dst.buf);
232+
fast_export_delete(node_ctx.dst.buf);
233233
node_ctx.action = NODEACT_ADD;
234234
}
235235
if (node_ctx.srcRev) {

0 commit comments

Comments
 (0)