Un-qimport'ing? (i.e. hg qdel tip)
Hans Meine
meine at informatik.uni-hamburg.de
Thu Aug 6 07:50:45 CDT 2009
Hi,
I often use "hg qnew -f foo" to quickly stash away all changes, then perform a
quick fix, and then want to continue working on my previous stuff. Often, I
do qpush, but then want to let changes appear as modifications again (e.g. in
order to use the great crecord command), is there a way to do so?
Right now, I can do
hg qpop
cd $HG_ROOT
patch -p1 < .hg/patches/foo
cd -
hg qdel foo
But I wonder if there's a better way. I could imagine "hg qdel tip", i.e. pop
& delete an applied patch if it's the tip, but leaving the working directory
alone (as qdel always does).
More information about the Mercurial
mailing list