confirm rollback

Matt Mackall mpm at selenic.com
Wed Apr 1 11:45:38 CDT 2009


On Wed, 2009-04-01 at 11:21 -0400, Neal Becker wrote: 
> Speaking of un-add, I tried (mistake!) rollback.
> 
> You know what would be nice?  If rollback had a confirm mode, which would 
> show what changes would be made.

Rollback works at the level of backup files and file offsets. It really
has no idea what it's doing. So this probably won't happen.

Some commands are inherently dangerous. Rollback is one such command and
is clearly marked as such in the help.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial mailing list