evolve: drop some unused variables
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 02 Mar 2017 18:13:03 +0100
changeset 2023 40f4b0146db8
parent 2022 57f6150353e2
child 2024 10d80adec0c2
evolve: drop some unused variables More pyflakes catches.
hgext3rd/evolve/__init__.py
--- 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():