Show More
@@ -53,13 +53,8 b' def findcommonincoming(repo, remote, hea' | |||
|
53 | 53 | return treediscovery.findcommonincoming(repo, remote, heads, force) |
|
54 | 54 | |
|
55 | 55 | if heads: |
|
56 | allknown = True | |
|
57 | 56 | knownnode = repo.changelog.hasnode # no nodemap until it is filtered |
|
58 | for h in heads: | |
|
59 | if not knownnode(h): | |
|
60 | allknown = False | |
|
61 | break | |
|
62 | if allknown: | |
|
57 | if all(knownnode(h) for h in heads): | |
|
63 | 58 | return (heads, False, heads) |
|
64 | 59 | |
|
65 | 60 | res = setdiscovery.findcommonheads(repo.ui, repo, remote, heads, |
General Comments 0
You need to be logged in to leave comments.
Login now