[Bug 5016] New: "abort: cannot use an integer as a name" even though that branch already exists

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Dec 18 11:24:51 UTC 2015


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

            Bug ID: 5016
           Summary: "abort: cannot use an integer as a name" even though
                    that branch already exists
           Product: Mercurial
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: julien.cristau at logilab.fr
                CC: mercurial-devel at selenic.com

I have a repo with branches named "10", "11", "12".  I would like to keep using
that repo.  But "hg branch 12" aborts.

$ hg branch
12
$ hg branch $(hg branch)
abort: cannot use an integer as a name

--force doesn't help.

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


More information about the Mercurial-devel mailing list