cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 126151 - Replace rollback with Strip mq extension
: Replace rollback with Strip mq extension
Status: RESOLVED FIXED
: versioncontrol
Mercurial
: 6.1
: All All
: P3 (vote)
: TBD
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-01-28 22:16 by
Modified: 2008-02-22 13:51 (History)
Issue Type: ENHANCEMENT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-28 22:16:14
This will give us a safer and more general rollback mechanism. Rollback only
rolls back one level, strip will rollabck
to which ever rev you specify and backup the rolled back changes to a bundle
file for you, so you can always undo it.
This is not possible with rollback.

hg strip [-f] [-b] [-n] REV
strip a revision and all later revs on the same branch

We should prompt user with list of changesets to be stripped before we do, as
it will remove the specified rev and all
its descendents.

hg log -r <rev>:tip

Can run hg --config extensions.mq= strip ... for the strip command without
having to modify the users ~/.hgrc file.
------- Comment #1 From 2008-02-22 13:51:59 -------
Strip has been added but Rollback has been retained.