stablerange: stop using '.node' in findmissingrange
We access the range-head revision number by index and convert it on site.
--- a/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 06:03:57 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 06:04:30 2017 +0100
@@ -304,12 +304,13 @@
nbreplies = 0
replies = list(_queryrange(ui, local, remote, sample))
sample = []
+ n = local.changelog.node
for entry, remotehash in replies:
nbreplies += 1
if remotehash == _obshashrange(local, entry):
continue
elif 1 == len(entry):
- missing.add(entry.node)
+ missing.add(n(entry[0]))
else:
for new in entry.subranges():
addentry(new)