Rollback performance

Greg Ward greg-hg at
Fri Nov 13 08:54:53 CST 2009

On Fri, Nov 13, 2009 at 9:43 AM, Greg Ward <greg-hg at> wrote:
> I'm debugging a 'changegroup' hook right now, so am repeatedly running
> 'hg rollback' to undo a push in a large repository.  And it's slow!  I
> wondered why, so I profiled it:

Oops, my mistake.  I have an extension that wraps
localrepository.destroy() to do some stuff.  Looks like it's
accidentally at fault.  When I disabled that extension, rollback time
dropped from 29 sec to 0.2 sec.


More information about the Mercurial-devel mailing list