This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 126151

Summary: Replace rollback with Strip mq extension
Product: versioncontrol Reporter: John Rice <jrice>
Component: MercurialAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.