changeset 17451:8e1fa8a32f2b

histedit: fix unused variable warnings spotted by pyflakes
author Patrick Mezard <patrick@mezard.eu>
date Wed, 05 Sep 2012 22:01:09 +0200
parents 9c362a497eae
children 4aec89d4faa2
files hgext/histedit.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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'))