Re: Multiproject conversion problem with Project Group directories

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 06/17/2011 10:54 AM, Amouzou, Afi wrote:
> [...]
> And I have in my option file:
>  
> 
>     * projects = ['Project A', 'Project B',...etc...]
> 
>  
> cvs_repo_main_dir = r'Path-to-/main-cvsrepos'
> for project in projects:
>     run_options.add_project(
> 
>     *         cvs_repo_main_dir + '/Project  group 1' + project,
> 
>         trunk_path=(project + '/trunk'),
>         branches_path=(project + '/branches'),
>         tags_path=(project + '/tags'),
>         # ...
>         )

This would all look correct *if* the paths to your repositories are

'Path-to-/main-cvsrepos/Project  group 1Project A'
'Path-to-/main-cvsrepos/Project  group 1Project B'

etc.  But probably the placement of spaces and/or '/' characters does
not match reality.

Please note that if you don't want to deal with Python's looping
constructs, you can simple copy-paste one "run_options.add_project()"
call for each project.

If you want more help, please include more information (like real
filenames and real snippets from your options file, what command you
run, what happens when you run the command, etc).  Also, please format
your messages as plain text, not HTML (which sometimes munges up the text).

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2769002

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.