RE: multi repository cvs2svn conversion question

Chris Davenport <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Thank you for taking the time to reply Michael.

Sorry my question was so ambiguous - my ability to ask more precise
questions is increasing exponentially as I immerse myself in this
conversion project.

Basically we'd like one SVN repository containing multiple projects
(code bases) - as this will mirror our CVS setup. Is there an issue with
having Svn set up this way?

SVN/Ecommerce
   --------project1
   --------project2

Currently we have two CVS repositories containing multiple projects
each.


If I'm interpreting your last email correctly, we wouldn't have to merge
the CVS repositories - just include the right pathing in the options
file.

So looking at the option file piece below - this would convert our
webstart project in our ecommerce repository which resides in our CVS
dir. Correct?
To save space I deleted the sybol transform section of it. I had left
the defaults on.

Run_options.add_project(
   r'/var/spool/CVS/ecommerce/webstart',
    trunk_path='webstart/trunk',
    branches_path='webstart/branches',
    tags_path='webstart/tags',
    initial_directories=[
        ],
    )
So to also add projects within another repository, I would simply add a
stanza like the following?  - where It would convert the javazone
project located in the intranet repository within the same CVS dir as
the ecommerce repository? 

Run_options.add_project(
   r'/var/spool/CVS/intranet/javazone',
    trunk_path='webstart/trunk',
    branches_path='webstart/branches',
    tags_path='webstart/tags',
    initial_directories=[
        ],
    )

And finally my last question deals with ambiguous symbols. After the
collate symbol pass - the conversion stops and informs me that there are
a few hundred ambiguous symbols. I have left the default symbol handling
on along with the default catch-all statement.
Is there a method that is usually employed in this case to handle these
as a group- or is it nessicarry to explicitly force each individual
symbol to be either a branch, tag, symbol. Using the hints file.

Thank you so much again for your help. 
I've also attached a copy of the options file (without the new projects
from the second repository) that I'm using if that helps at all.

-Chris

-----Original Message-----
From: Michael Haggerty [mailto:[email protected]] 
Sent: Friday, March 26, 2010 4:58 AM
To: Chris Davenport
Cc: [email protected]
Subject: Re: multi repository cvs2svn conversion question

Chris Davenport wrote:
> I'm currently converting my companies CVS repository into Subversion
and
> was wondering if anyone had an answer to my dilemma.
> 
> I'm creating a dumpfile for upload to Atlassian where they will host
our
> SVN repository.
> 
> I can see how to modify the options file to include multi-project, but
I
> just realized we have a mult-repository, multi-project structure like
this
> 
> CVS/
> RepositoryA
>            ---------project1
>            ---------project2
> RepositoryB
>            ---------project1
>            ---------project2
> 
> Will cvs2svn convert everyting inside of my CVS folder into one
> repository? Or will I have to run it twice specifying which repository
> to have it convert.

cvs2svn converts, for each Subversion project, everything under the
directory that you pass to it, even if (for example) different projects
are in entirely different CVS repositories or are nested deeper within a
single CVS repository.  Your question is a little ambiguous, so it is
difficult to give a more specific answer.  If you are still having
trouble, I suggest you be more specific about the current structure and
how you want the resulting Subversion repository to be structured.

Michael

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

To unsubscribe from this discussion, e-mail: [[email protected]].
cvs2sv2.options (application/octet-stream, 52.4 KB) - not displayed
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.