evolve: remove unused variables
As suggested by pyflakes, remove 5 unused variables in the evolve module.
--- a/hgext/evolve.py Thu Apr 30 14:30:15 2015 -0700
+++ b/hgext/evolve.py Thu Apr 30 14:40:36 2015 -0700
@@ -493,7 +493,7 @@
"""``suspended()``
Obsolete changesets with non-obsolete descendants.
"""
- args = revset.getargs(x, 0, 0, 'suspended takes no arguments')
+ revset.getargs(x, 0, 0, 'suspended takes no arguments')
suspended = getrevs(repo, 'suspended')
return [r for r in subset if r in suspended]
@@ -544,7 +544,6 @@
""":obsolete: String. The obsolescence level of the node, could be
``stable``, ``unstable``, ``suspended`` or ``extinct``.
"""
- rev = ctx.rev()
if ctx.obsolete():
if ctx.extinct():
return 'extinct'
@@ -2497,9 +2496,7 @@
pushop.ui.debug('try to push obsolete markers to remote\n')
repo = pushop.repo
remote = pushop.remote
- unfi = repo.unfiltered()
- cl = unfi.changelog
- if (obsolete._enabled and repo.obsstore and
+ if (obsolete._enabled and repo.obsstore and
'obsolete' in remote.listkeys('namespaces')):
markers = pushop.outobsmarkers
if not markers:
@@ -2619,7 +2616,6 @@
Its a separed functio to play around with strategy for that."""
repo = pullop.repo
- cl = pullop.repo.changelog
remote = pullop.remote
unfi = repo.unfiltered()
revs = unfi.revs('::(%ln - null)', pullop.common)