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

Re: Error when using CVS2SVN

From: Michael Haggerty <mhagger_at_alum.mit.edu>
Date: 2007-04-12 19:09:49 CEST

[cvs2svn has its own mailing list, users@cvs2svn.tigris.org. Please use
that address for future questions.]

Jan Wouters wrote:
> I perform the following command:
>
> cvs2svn --options=OPTIONSFILE
>
> OPTIONSFILE:
> --dry-run --trunk-only -s /home/svn/dance /home/cvsroot/dance-rome
>
> When I perform this command I get the following output:
>
> [...]
> NameError: name 'dry' is not defined
>
> I have checked the cvs2svn documentation page and --dry-run is a valid
> option.
>
> I have not installed cvs2svn. Instead I am running the command from within
> the cvs2svn-1.5.1 directory where the cvs2svn_rcsparse file is located. What
> am I doing wrong?

The options file should not contain cvs2svn command-line options. It
should contain Python code to configure the cvs2svn run. Please look at
the cvs2svn-example.options included with cvs2svn to see the format and
lots of documentation about what you can put in this file.

Alternatively, you can specify --dry-run as a cvs2svn command line
option and not use the --options file method.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 12 19:10:33 2007

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

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