[Bug 4874] New: hg backout --merge --commit does not commit the merge

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Oct 2 05:47:54 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4874

            Bug ID: 4874
           Summary: hg backout --merge --commit does not commit the merge
           Product: Mercurial
           Version: 3.5.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: mathias.demare at gmail.com
                CC: mercurial-devel at selenic.com

hg init bar
cd bar
touch a b c
hg add a && hg commit -m "add a"
hg add b && hg commit -m "add b"
hg add c && hg commit -m "add c"
hg backout -r 1 --merge --commit

The resulting DAG is like below, without the merge being committed (so the
behaviour is the same as without --commit):

@  3[tip]:1   1b71fab2f855   2015-10-02 07:45 +0200   mathias
|    Backed out changeset 4ed7ab1d1d32
|
| @  2   7e1e66bceab3   2015-10-02 07:45 +0200   mathias
|/     add c
|
o  1   4ed7ab1d1d32   2015-10-02 07:45 +0200   mathias
|    add b
|
o  0   b079878f3a89   2015-10-02 07:45 +0200   mathias
     add a

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list