Re: Repository as Branch
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Vicky Chester wrote: > I'm converting our company's source from CVS to SVN and have a weird > situation with branches. > We have a core line of development which is checked into a core CVS > repository. Different customers then require changes to the core but > instead of putting these changes in branches in CVS, the project gets > copied, modified and checked into a new customer-specific CVS > repository. In these situations, did you copy the whole CVS repository (i.e., with history) or did you just copy a snapshot of the working copy? > We're now moving our CVS repositories over to SVN and want to put the > customer-specific and the core code in a single repository. Is there any > way as part of the cvs2svn conversion to get both the core and > customer-specific repositories into the new SVN repository and have the > customer-specific repository changes as branches? There is no easy way to do this. You could do a multiproject conversion [1], causing all of the repositories to be converted into different paths within a single Subversion repository. You could even cause the customer CVS repositories to be recorded in paths in the Subversion repository that make them look like branches. But there is no easy way to "connect" the histories of the customer CVS repositories to the history of the core project, so Subversion wouldn't know that they branched from it. If (see question above) you copied the whole CVS repository to the customer repositories, then such a conversion would have the additional disadvantage that the overlapping part of the history would be stored in Subversion multiple times. Depending on the details of how you did this and whether you have any extra data telling when the customer repositories were created, it might be possible to write custom code to produce a properly branched Subversion repository representing the true history of the multiple CVS projects. If you need help with this you might consider getting paid assistance with your conversion [2]. Michael [1] http://cvs2svn.tigris.org/faq.html#onetoone [2] http://cvs2svn.tigris.org/faq.html#commercialsupport ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2592172 To unsubscribe from this discussion, e-mail: [[email protected]].