[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch]: cvs2svn not synced with current svn_repos API

From: David Kimdon <dwhedon_at_debian.org>
Date: 2003-02-22 17:02:42 CET


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?


* 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)
       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

This is an archived mail posted to the Subversion Dev mailing list.