hgext/evolve.py
branchstable
changeset 549 b047e9417d96
parent 548 bebc6753e7b9
child 550 362e65fc6146
--- a/hgext/evolve.py	Mon Sep 10 18:22:45 2012 +0200
+++ b/hgext/evolve.py	Mon Sep 10 18:56:44 2012 +0200
@@ -2078,7 +2078,7 @@
             tr.release()
         ui.status('%i changesets folded\n' % len(revs))
         if repo.revs('. and %ld', revs):
-            repo.dirstate.setparents(newid, node.nullid)
+            hg.update(repo, newid)
     finally:
         lockmod.release(lock, wlock)