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