Re: Can't identify parent of branch
John McNamee <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
I'm certainly willing to try hacking it. I'd appreciate any pointers you could provide to set me in the right direction. P.S. I still do wonder why cvs2svn doesn't consistently identify, or not identify, the trunk as the parent when files are initially added on a branch. -------- Original Message -------- Subject: Re: Can't identify parent of branch From: Michael Haggerty <[email protected]> To: John McNamee <[email protected]> Date: 11/9/2010 7:48 AM > On 11/09/2010 02:04 PM, John McNamee wrote: >> That makes sense, but the same pattern (file created on branch) exists in >> thousands of other files, and cvs2svn selects the trunk as the parent. >> >> If this were merely cosmetic, I wouldn't care. The operational problem I'm >> having has to do with symbol hints. My conversion project involves taking >> a single large CVS repository and breaking it up into ~50 separate SVN >> repositories. I've got a "master" symbol hints file that I want to use >> for these separate conversions. The hints file was created based on a >> run through the entire CVS repository, and then some hand editing was >> applied. The entry for the "symbol00904" branch lists the parent as the >> trunk. cvs2svn generates an error if the symbol hints declare a parent >> that isn't one of the "possible parents". > > The problem is obviously arising because you are trying to apply a hints > file derived from a full conversion to conversions of only part of the > repository. It shouldn't be too hard to change the code so that when > the check fails, it doesn't abort but instead ignores that particular > symbol hint and falls back to something like the heuristic parent > chooser. If you would like to make this change yourself, I'd be happy > to get you started. > > Michael ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2680465 To unsubscribe from this discussion, e-mail: [[email protected]].