##// END OF EJS Templates
discovery: using the new basesheads()...
Georges Racinet -
r41281:2a8782cc default
parent child Browse files
Show More
@@ -229,9 +229,7 b' class partialdiscovery(object):'
229 229 """the heads of the known common set"""
230 230 # heads(common) == heads(common.bases) since common represents
231 231 # common.bases and all its ancestors
232 # The presence of nullrev will confuse heads(). So filter it out.
233 return set(self._repo.revs('heads(%ld)',
234 self._common.bases - {nullrev}))
232 return self._common.basesheads()
235 233
236 234 def findcommonheads(ui, local, remote,
237 235 initialsamplesize=100,
General Comments 0
You need to be logged in to leave comments. Login now