[Bug 6142] New: 'hg prune --pair -s' bookmarks & wdir move to the wrong cset
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun May 19 10:48:50 UTC 2019
https://bz.mercurial-scm.org/show_bug.cgi?id=6142
Bug ID: 6142
Summary: 'hg prune --pair -s' bookmarks & wdir move to the
wrong cset
Product: Mercurial
Version: default branch
Hardware: All
OS: Other
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: evolution
Assignee: bugzilla at mercurial-scm.org
Reporter: jeffpc at josefsipek.net
CC: mercurial-devel at mercurial-scm.org,
pierre-yves.david at ens-lyon.org
Created attachment 2046
--> https://bz.mercurial-scm.org/attachment.cgi?id=2046&action=edit
test script
hg prune --pair -s moves the bookmarks and wdir to the ancestor, not to the
successors.
See attached script for steps to reproduce & output I get.
I would expect the bookmark and wdir to move to rev 4 - not rev 0.
I haven't dug into it, but it looks like --pair is necessary to get this
mis-behavior.
$ hg version -v
Mercurial Distributed SCM (version 5.0+2-724dae82c4bd+20190502)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2019 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Enabled extensions:
hgk internal
purge internal
gpg internal
churn internal
shelve internal
histedit internal
rebase internal
patchbomb internal
githelp internal
absorb internal
describe external
evolve external 8.6.0.dev
topic external 0.15.0.dev
(hg-evolve 0b231ea2124baf74fee5e325922a57fb0d89bbe3)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list