Re: How to import several subdirectories of a CVS repository?
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/01/2010 11:01 PM, BRM wrote:
>> If the directories are all part of one project, then you can make a copy
>> of your CVS repository, delete the unwanted directories, then convert
>> the expurgated copy.
> [...]
> Though now that I think about it....you could probably just convert /dir3 and
> /dir5 as separate conversions - treat them as CVSROOT -
>
> and then import each into SVN separately:
>
> $ cvs2svn --dumpfile=dir3.svndump ${CVSROOT}/dir3
> $ cvs2svn --dumpfile=dir5.svndump ${CVSROOT}/dir5
> $ svnadmin create ${SVNROOT}/combinedRepo
> $ svnadmin load --parent-dir dir3 < dir3.svndump
> $ svnadmin load --parent-dir dir5 < dir5.svndump
This will work, but the resulting SVN revision numbers will be out of
chronological order (all commits to dir3 will have lower revision
numbers than all commits to dir5).
Michael
--
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2687190
To unsubscribe from this discussion, e-mail: [[email protected]].