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

cvs2svn.py doesn't recognize --svnadmin flag despite documentation to the contrary - Patch Included

From: Matthew Van Gundy <Matthew.VanGundy_at_yardi.com>
Date: 2003-12-30 17:50:56 CET

Howdy all,

When using cvs2svn.py to convert a CVS repository to subversion, I tried to specify the --svnadmin flag and received the following error message "Error: option --svnadmin not recognized". Apparently this is because "svnadmin=" was not in the list passed to getopt.getopt(). I added it and everything seemed to work as expected. See patch below.

Thanks for making such a great product... I'm just beginning to explore Subversion as a CVS replacement and I'm rather impressed with how far it's come.

Please CC me directly on any replies as I am not subscribed to the list.

Thanks again,
Matt Van Gundy

C:\Documents and Settings\matthewvg.CA_DOMAIN1\My Documents\cvs2svn>svn diff -x -u
Index: cvs2svn.py
===================================================================
--- cvs2svn.py (revision 8119)
+++ cvs2svn.py (working copy)
@@ -2212,7 +2212,7 @@
                                  "username=",
                                  "branches=", "tags=", "encoding=",
                                  "trunk-only", "no-prune",
- "dump-only", "dumpfile="])
+ "dump-only", "dumpfile=", "svnadmin="])
   except getopt.GetoptError, e:
     sys.stderr.write('Error: ' + str(e) + '\n\n')
     usage(ctx)svn diff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 31 01:33:52 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.