summaryrefslogtreecommitdiff
path: root/contrib/svn-fe/svn-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/svn-fe/svn-fe.c')
-rw-r--r--contrib/svn-fe/svn-fe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/svn-fe/svn-fe.c b/contrib/svn-fe/svn-fe.c
index a2677b03e0..f363505abb 100644
--- a/contrib/svn-fe/svn-fe.c
+++ b/contrib/svn-fe/svn-fe.c
@@ -8,8 +8,10 @@
int main(int argc, char **argv)
{
- svndump_init(NULL);
- svndump_read((argc > 1) ? argv[1] : NULL);
+ if (svndump_init(NULL))
+ return 1;
+ svndump_read((argc > 1) ? argv[1] : NULL, "refs/heads/master",
+ "refs/notes/svn/revs");
svndump_deinit();
svndump_reset();
return 0;