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 - Replace rollback with Strip mq extension
Summary: Replace rollback with Strip mq extension
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
Depends on:
Reported: 2008-01-28 22:16 UTC by John Rice
Modified: 2008-02-22 13:51 UTC (History)
0 users

See Also:
Exception Reporter:


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 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.