backout is not inverse of ci?

Neal Becker ndbecker2 at gmail.com
Wed Nov 28 17:07:30 CST 2007


On Wednesday 28 November 2007, Matt Mackall wrote:
> On Wed, Nov 28, 2007 at 04:46:35PM -0500, Neal Becker wrote:
> > It seems that ci has no problem with uncommitted changes (to other
> > files), backout refuses, and doesn't even offer any option (AFAICT).
> >
> > hg backout -r tip
> > abort: outstanding uncommitted changes
>
> Yep. For backout to work its magic, it needs a clean working
> directory.


I guess the procedure to reverse a mistaken commit (unless it was the last 
change) is to commit an 'inverting' change (remove any add, undo any 
edits...)?


More information about the Mercurial mailing list