##// END OF EJS Templates
partialdiscovery: avoid `undecided` related computation sooner than necessary...
Boris Feld -
r41374:76873548 stable
parent child Browse files
Show More
@@ -183,7 +183,8 b' class partialdiscovery(object):'
183 def addcommons(self, commons):
183 def addcommons(self, commons):
184 """registrer nodes known as common"""
184 """registrer nodes known as common"""
185 self._common.addbases(commons)
185 self._common.addbases(commons)
186 self._common.removeancestorsfrom(self.undecided)
186 if self._undecided is not None:
187 self._common.removeancestorsfrom(self._undecided)
187
188
188 def addmissings(self, missings):
189 def addmissings(self, missings):
189 """registrer some nodes as missing"""
190 """registrer some nodes as missing"""
General Comments 0
You need to be logged in to leave comments. Login now