hi,
This fixes a broken cvs2svn for me. Passing the null config looks okay since
svn_repos_create will obtain a config otherwise if it needs it. If this looks
good I will commit. I note that this change is also missing from the
cvs2svn-mmacek branch. Should I commit to the branch as well?
-David
* tools/cvs2svn/cvs2svn.py (pass4) : Update to current with libsvn_repos API.
Pass a config NULL config argument to repos.svn_repos_create().
Index: tools/cvs2svn/cvs2svn.py
===================================================================
--- tools/cvs2svn/cvs2svn.py (revision 5022)
+++ tools/cvs2svn/cvs2svn.py (working copy)
@@ -550,7 +550,7 @@
# create the target repository
if not ctx.dry_run:
if ctx.create_repos:
- t_repos = repos.svn_repos_create(ctx.target, None, None, ctx.pool)
+ t_repos = repos.svn_repos_create(ctx.target, None, None, None, ctx.pool)
else:
t_repos = repos.svn_repos_open(ctx.target, ctx.pool)
t_fs = repos.svn_repos_fs(t_repos)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 22 18:15:30 2003