[Bug 6410] New: Can't create bookmarks named like 3_9: "cannot use an integer as a name"

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Sep 22 10:18:27 UTC 2020


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

            Bug ID: 6410
           Summary: Can't create bookmarks named like 3_9: "cannot use an
                    integer as a name"
           Product: Mercurial
           Version: 5.5.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: bookmarks
          Assignee: bugzilla at mercurial-scm.org
          Reporter: adia at hellug.gr
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

In one of our repos, we use bookmarks named as the major versions of the
project with underscores instead of dots, so e.g. 3_8, 3_9, 3_10.

These used to work, and can still be updated by activating an existing one
first, but after upgrading to hg 5.5.1 I get:

# trying to create a new bookmark
$ hg bookmark 3_10
abort: cannot use an integer as a name

# updating an existing bookmark
hg bookmark -r Release_3.9.3 3_9
abort: cannot use an integer as a name

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


More information about the Mercurial-devel mailing list