[Bug 5017] New: commit should ignore secret heads when considering "created new head" warning

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Dec 18 20:47:07 UTC 2015


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

            Bug ID: 5017
           Summary: commit should ignore secret heads when considering
                    "created new head" warning
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: mpm at selenic.com
                CC: mercurial-devel at selenic.com

The warning exists to keep people from having multi-headed push trouble.. but
secret commits aren't pushed.

Test script:

rm -rf a
hg init a
cd a

echo a > a
hg ci -Am0

echo b > b
hg ci -Asm1

hg up 0
echo c > c
hg ci -Am2

Output:

adding a
adding b
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
adding c
created new head

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


More information about the Mercurial-devel mailing list