[issue472] Be able to change the parent without modifying the
working directory
Phil
mercurial-bugs at selenic.com
Sat Jan 6 08:43:28 CST 2007
New submission from Phil <hg.bt.web at secdev.org>:
I'd linke to be able to change the parent of the working directory without
modifying the directory (i.e. update will not fit).
proposed way:
hg parent -r <n>
set parent to revision n.
Use case:
- do something. commit.
- work on the working directory, find a bug, do the "something" another way
- hg parent -- -2
- hg commit
(and maybe hg strip -- -2)
The point to note here is that the bug is usually found too late and updating
back, reverting, fixing and commiting is not possible anymore.
----------
messages: 2666
nosy: Phil
priority: wish
status: unread
title: Be able to change the parent without modifying the working directory
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue472>
____________________________________________________
More information about the Mercurial-devel
mailing list