obshashrange: to not overwrite the list with the set
We reusing the list variable lower in the code.
--- a/hgext3rd/evolve/obsdiscovery.py Wed May 17 00:22:24 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py Wed May 17 00:23:19 2017 +0200
@@ -474,7 +474,7 @@
self._updating = True
- revs = set(revs)
+ setrevs = set(revs)
rev = repo.changelog.nodemap.get
# if we have a new markers affecting a node already covered by the
# cache, we must abort.
@@ -485,7 +485,7 @@
continue
for p in l:
r = rev(p)
- if r is not None and r not in revs:
+ if r is not None and r not in setrevs:
self.clear(reset=True)
break
else: