evolve: drop some unused variables
More pyflakes catches.
--- 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():