You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Matthew Van Gundy <Ma...@yardi.com> on 2003/12/30 16:50:56 UTC

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

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


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

Posted by Max Bowsher <ma...@ukf.net>.
Matthew Van Gundy wrote:
> 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.

Patch applied.

Thanks!

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org