hgext/histedit.py
changeset 17451 8e1fa8a32f2b
parent 17407 31c123a2f273
child 17640 2d750e885512
--- a/hgext/histedit.py	Fri Aug 03 17:26:58 2012 +0200
+++ b/hgext/histedit.py	Wed Sep 05 22:01:09 2012 +0200
@@ -238,7 +238,7 @@
     oldctx = repo[ha]
     hg.update(repo, ctx.node())
     try:
-        files = foldchanges(ui, repo, oldctx.p1().node() , ha, opts)
+        foldchanges(ui, repo, oldctx.p1().node() , ha, opts)
     except Exception:
         pass
     raise util.Abort(_('Make changes as needed, you may commit or record as '
@@ -264,7 +264,7 @@
 def finishfold(ui, repo, ctx, oldctx, newnode, opts, internalchanges):
     parent = ctx.parents()[0].node()
     hg.update(repo, parent)
-    files = foldchanges(ui, repo, parent, newnode, opts)
+    foldchanges(ui, repo, parent, newnode, opts)
     newmessage = '\n***\n'.join(
         [ctx.description()] +
         [repo[r].description() for r in internalchanges] +
@@ -287,7 +287,7 @@
     oldctx = repo[ha]
     hg.update(repo, ctx.node())
     try:
-        files = foldchanges(ui, repo, oldctx.p1().node() , ha, opts)
+        foldchanges(ui, repo, oldctx.p1().node() , ha, opts)
     except Exception:
         raise util.Abort(_('Fix up the change and run '
                            'hg histedit --continue'))