[issue3279] can create bookmark 'null'

Paul Nathan bugs at mercurial.selenic.com
Thu Feb 23 12:13:30 CST 2012


New submission from Paul Nathan <paul_nathan at selinc.com>:

Hi, I can create a bookmark named null. However, when I update to null, it
updates to the null revision, not the bookmark.

Reproduction here:

paulnath at paulnathlinux:~/horrible_repo$ hg branch null
abort: the name 'null' is reserved
paulnath at paulnathlinux:~/horrible_repo$ hg bookmark null
paulnath at paulnathlinux:~/horrible_repo$ hg bookmarks
 * null                      23:1abe559d8ac5
paulnath at paulnathlinux:~/horrible_repo$ hg up -C -r null
0 files updated, 0 files merged, 5 files removed, 0 files unresolved
paulnath at paulnathlinux:~/horrible_repo$ hg sum
parent: -1:000000000000  (no revision checked out)
branch: default
commit: 2 unknown (clean)
update: 17 new changesets (update)
paulnath at paulnathlinux:~/horrible_repo$

----------
messages: 19153
nosy: paulnath
priority: bug
status: unread
title: can create bookmark 'null'

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3279>
____________________________________________________


More information about the Mercurial-devel mailing list