changeset 2023:40f4b0146db8

evolve: drop some unused variables More pyflakes catches.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Mar 2017 18:13:03 +0100
parents 57f6150353e2
children 10d80adec0c2
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Thu Mar 02 18:12:47 2017 +0100
+++ b/hgext3rd/evolve/__init__.py	Thu Mar 02 18:13:03 2017 +0100
@@ -914,9 +914,6 @@
                               hint=_("Specify the parent by passing in pctx"))
         pctx = orig.p1()
 
-    destbookmarks = repo.nodebookmarks(dest.node())
-    nodesrc = orig.node()
-    destphase = repo[nodesrc].phase()
     commitmsg = orig.description()
 
     cache = {}
@@ -963,7 +960,6 @@
         exc.__class__ = LocalMergeFailure
         tr.close() # to keep changes in this transaction (e.g. dirstate)
         raise
-    oldbookmarks = repo.nodebookmarks(nodesrc)
     _finalizerelocate(repo, orig, dest, nodenew, tr)
     return nodenew
 
@@ -1479,7 +1475,6 @@
 def divergentsets(repo, ctx):
     """Compute sets of commits divergent with a given one"""
     cache = {}
-    succsets = {}
     base = {}
     for n in obsolete.allprecursors(repo.obsstore, [ctx.node()]):
         if n == ctx.node():