[PATCH 5 of 5] rebase: specify custom conflict marker labels for rebase

Mads Kiilerich mads at kiilerich.com
Fri May 9 05:42:27 CDT 2014


On 05/09/2014 02:33 AM, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1399593356 25200
> #      Thu May 08 16:55:56 2014 -0700
> # Node ID 375164d1425477d42f9d5c032465d79727648b17
> # Parent  75ff3fc095cae6dcf513d424b7abb23121cc7e55
> rebase: specify custom conflict marker labels for rebase
>
> Changes rebase conflict markers to say 'source' and 'destination' instead of
> 'local' and 'other'.  This ends up looking like:
>
>    one
>    <<<<<<< destination: a3e5  master - "A commit to master"
>    master
>    =======
>    mine
>    >>>>>>> source: c7fd  - "A commit to my feature branch"
>    three

The revisions to rebase can be specified as source, base or revisions. 
Calling it source in all cases could perhaps be a bit confusing. 
Alternatives could be "original" or "rebasing" ... but source is 
probably better...

Whatever we call it, it would also be nice if it was consistent with 
what it is called in graft.

Besides that and Marmoutes comments: looks good to me!

/Mads



More information about the Mercurial-devel mailing list