Re: Can't identify parent of branch

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
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

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

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

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.