Show More
@@ -180,6 +180,7 b' class partialdiscovery(object):' | |||
|
180 | 180 | def addcommons(self, commons): |
|
181 | 181 | """registrer nodes known as common""" |
|
182 | 182 | self._common.addbases(commons) |
|
183 | self._common.removeancestorsfrom(self.undecided) | |
|
183 | 184 | |
|
184 | 185 | def hasinfo(self): |
|
185 | 186 | """return True is we have any clue about the remote state""" |
@@ -324,7 +325,6 b' def findcommonheads(ui, local, remote,' | |||
|
324 | 325 | if sample: |
|
325 | 326 | commoninsample = set(n for i, n in enumerate(sample) if yesno[i]) |
|
326 | 327 | disco.addcommons(commoninsample) |
|
327 | disco._common.removeancestorsfrom(disco.undecided) | |
|
328 | 328 | |
|
329 | 329 | result = disco.commonheads() |
|
330 | 330 | elapsed = util.timer() - start |
General Comments 0
You need to be logged in to leave comments.
Login now