[PATCH] convert: use 'default' for specifying branch name in branchmap (issue4753)

Matt Mackall mpm at selenic.com
Tue Jul 14 18:59:33 CDT 2015


On Tue, 2015-07-14 at 08:42 -0500, Eugene Baranov wrote:
> # HG changeset patch
> # User Eugene Baranov <eug.baranov at gmail.com>
> # Date 1436881256 -3600
> #      Tue Jul 14 14:40:56 2015 +0100
> # Node ID f516ac1d4b9bbbcd45763c1b008c805e60b8bfbf
> # Parent  35fa7c77c754aa4d156c42abfdb61ca178468872
> convert: use 'default' for specifying branch name in branchmap (issue4753)
> 
> A fix for issue2653 with 1d155582a8ea introduced a discrepancy how default
> branch should be denoted when converting with branchmap from different SCM.
> E.g. for Git and Mercurial you need to use 'default' whilst for Perforce and
> SVN you had to use 'None'. This changeset unifies 'default' for such purposes.

>    $ cat > branchmap <<EOF
> -  > None hgtrunk
> +  > default hgtrunk

Doesn't this break anyone who's using relying on this today?

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list