Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 126151 - Replace rollback with Strip mq extension
Replace rollback with Strip mq extension
Status: RESOLVED FIXED
Product: versioncontrol
Classification: Unclassified
Component: Mercurial
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@versioncontrol
issues@versioncontrol
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-28 22:16 UTC by John Rice
Modified: 2008-02-22 13:51 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Rice 2008-01-28 22:16:14 UTC
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 Padraig Obriain 2008-02-22 13:51:59 UTC
Strip has been added but Rollback has been retained.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo