strip -f doesn't exist?
j w
jwdevel at gmail.com
Wed Jul 2 16:15:05 CDT 2008
Running:
hg help strip
Gives:
hg strip [-f] [-b] [-n] REV
...
Yet when I try to use 'strip -f', I get:
hg strip: option -f not recognized
I want to strip a revision even though I have local changes. Is this
not allowed for some reason? If so, the commandline docs should be
updated.
Or even better, it would be nice if strip -f worked.
I'm using v1.0.1 via Windows binary installer - I can check more
recent when I get home...
What I'm really trying to accomplish is to turn an mq patch into local changes.
So I do:
hg qpush foo
hg qdel -rfoo
hg update -r-2
hg revert -rtip --all
(now I have local changes from the foo patch)
hg strip -f tip
Is there a better way (one that works) ?
-John
More information about the Mercurial
mailing list