[Bug 3983] New: prune: when pruning a changeset with a bookmark the bookmark deactivates
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Jul 13 23:34:25 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=3983
Priority: normal
Bug ID: 3983
CC: mercurial-devel at selenic.com
Assignee: pierre-yves.david at logilab.fr
Summary: prune: when pruning a changeset with a bookmark the
bookmark deactivates
Severity: bug
Classification: Unclassified
OS: Mac OS
Reporter: sean.michael.farley at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.6.3
Component: evolution
Product: Mercurial
This appears to happen only when there are multiple bookmarks in an ancestry
line:
$ hg init .
$ echo a>a
$ hg ci -Am0
$ hg book @
$ hg book foo
$ echo b>>a
$ hg ci -Am1
$ hg book bar
$ echo c>>a
$ hg ci -Am2
Looking at the active bookmark, we see that it is 'bar':
$ hg book
@ 0:a400c4e79487
* bar 2:f4fe8d5540e9
foo 1:9272668e857a
If we strip,
$ hg strip .
'bar' is still, correctly, active:
$ hg book
@ 0:a400c4e79487
* bar 1:9272668e857a
foo 1:9272668e857a
But if we prune,
$ hg prune .
'bar' is deactivate:
$ hg book
@ 0:a400c4e79487
bar 1:9272668e857a
foo 1:9272668e857a
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list