mercurial/setdiscovery.py
changeset 23746 4ef2f2fa8b8b
parent 23343 f8a2647fe020
child 23747 f82173a90c2c
--- 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()