Show More
@@ -291,9 +291,9 b' def _pullchangesetdiscovery(repo, remote' | |||||
291 | # See the comment in exchange._pulldiscoverychangegroup() for more. |
|
291 | # See the comment in exchange._pulldiscoverychangegroup() for more. | |
292 |
|
292 | |||
293 | if fetch and remoteheads: |
|
293 | if fetch and remoteheads: | |
294 |
node |
|
294 | has_node = repo.unfiltered().changelog.index.has_node | |
295 |
|
295 | |||
296 |
common |= {head for head in remoteheads if head |
|
296 | common |= {head for head in remoteheads if has_node(head)} | |
297 |
|
297 | |||
298 | if set(remoteheads).issubset(common): |
|
298 | if set(remoteheads).issubset(common): | |
299 | fetch = [] |
|
299 | fetch = [] |
General Comments 0
You need to be logged in to leave comments.
Login now