[PATCH] convert: allow branchmap to map trunk to arbitrary named branch (issue3469)
dsp at php.net
dsp at php.net
Sat Oct 6 12:36:30 CDT 2012
On 10/06/2012 01:54 AM, Augie Fackler wrote:
>> + # If no destination branch is set, this commit is destined for the
>> + # default branch in the destination repository. If a suitable entry
>> + # exists in the branchmap, map the trunk branch name in the source
>> + # repository to the branchmap-defined name in the destination
>> + # repository.
>> + if not commit.branch:
>> + commit.branch = self.branchmap.get(self.source.trunkname)
>> +
this is specific to convert/subversion.py. I don't know the convert code
much but as far as I can tell we don't have a way to ask the VCS
specific convert class what it's "standard" branch is. We might want to
look for a more general solution here.
More information about the Mercurial-devel
mailing list