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

Re: changing repo layouts

From: Erick Calder <e_at_arix.com>
Date: Wed, 19 Aug 2009 00:50:40 -0700

On Aug 15, 2009, at 10:18 PM, David Weintraub wrote:

> On Sat, Aug 15, 2009 at 1:54 AM, Erick Calder <e_at_arix.com> wrote:
> the structure I want is: /project/trunk, /project/tags, /project/
> branches. I found the --trunk, --branches and --tags options
> available to cvs2svn but from the documentation I could not hope to
> figure out how to use these to build what I want...
> Okay, we converted one project at a time, so the --branches and --
> tags options allowed us to specify the location in the repository
> where we wanted the branches and tags. I am not a Python developer,
> so I didn't bother with the options file. However, I did find this
> piece of information which you might find very handy:
> <http://cvs2svn.tigris.org/faq.html#onetoone>

I decided to give the config-file thing a try but it breaks. here's
my config file:

ctx.output_option = NewRepositoryOutputOption(
ctx.cvs_filename_decoder = CVSTextDecoder(
     [ 'iso8859_10' ],

and when I run the command I get the following:

# /tmp/cvs2svn-2.2.0/cvs2svn --options=/tmp/cvs2svn /var/dump/cvs
DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
   import sha
Traceback (most recent call last):
   File "/tmp/cvs2svn-2.2.0/cvs2svn", line 31, in <module>
     main(sys.argv[0], sys.argv[1:])
   File "/tmp/cvs2svn-2.2.0/cvs2svn_lib/main.py", line 46, in main
     run_options = RunOptions(progname, cmd_args, pass_manager)
   File "/tmp/cvs2svn-2.2.0/cvs2svn_lib/run_options.py", line 268, in
   File "/tmp/cvs2svn-2.2.0/cvs2svn_lib/run_options.py", line 774, in
     execfile(options_filename, g, l)
   File "/tmp/cvs2svn", line 1, in <module>
     ctx.output_option = NewRepositoryOutputOption(
NameError: name 'NewRepositoryOutputOption' is not defined

I've googled but find no easily understandable solution.

- e


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-19 09:48:55 CEST

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.