fix: appease pyflakes and make unused variables more obvious
pyflakes is complaining that `baserevs` is redefined by the list comprehension,
and while this lint can be valuable, it's not actually a problem here.
Differential Revision: https://phab.mercurial-scm.org/D11683
--- a/hgext/fix.py Fri Oct 15 04:41:24 2021 +0200
+++ b/hgext/fix.py Mon Oct 18 10:14:44 2021 +0200
@@ -434,7 +434,7 @@
numitems[rev] += 1
workqueue = [
(min(dstrevs), path, dstrevs)
- for (filerev, baserevs, path), dstrevs in dstrevmap.items()
+ for (_filerev, _baserevs, path), dstrevs in dstrevmap.items()
]
# Move work items for earlier changesets to the front of the queue, so we
# might be able to replace those changesets (in topological order) while