diff -r 324cd13838f1 -r 9729fdcc1fab hgext/evolve.py --- a/hgext/evolve.py Fri Oct 30 16:04:19 2015 +0000 +++ b/hgext/evolve.py Fri Oct 30 16:04:37 2015 +0000 @@ -2328,7 +2328,7 @@ dirchanges = [f for f in dirstate if dirstate[f] != 'n'] changedfiles.extend(dirchanges) repo.dirstate.rebuild(newnode.node(), newnode.manifest(), changedfiles) - repo.dirstate.write() + writedirstate(dirstate, tr) else: bookactive = bmactive(repo) # Active bookmark that we don't want to delete (with -B option)