setdiscovery: drop shadowed 'undecided' assignment
The 'undecided' variable was never used before being overwritten a few lines
later.
--- a/mercurial/setdiscovery.py Tue Jan 06 20:14:52 2015 -0800
+++ b/mercurial/setdiscovery.py Tue Jan 06 16:30:37 2015 -0800
@@ -174,14 +174,13 @@
# full blown discovery
- # own nodes where I don't know if remote knows them
- undecided = dag.nodeset()
# own nodes I know we both know
# treat remote heads (and maybe own heads) as a first implicit sample
# response
common = cl.incrementalmissingrevs(srvheads)
commoninsample = set(n for i, n in enumerate(sample) if yesno[i])
common.addbases(commoninsample)
+ # own nodes where I don't know if remote knows them
undecided = set(common.missingancestors(ownheads))
# own nodes I know remote lacks
missing = set()