# HG changeset patch # User Patrick Mezard # Date 1346875269 -7200 # Node ID 8e1fa8a32f2bd591378aae0870fd9de896481e66 # Parent 9c362a497eae5fa8110b493941ad67981805b991 histedit: fix unused variable warnings spotted by pyflakes diff -r 9c362a497eae -r 8e1fa8a32f2b hgext/histedit.py --- 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'))