changeset 3928 | 4df475e22248 |
parent 3893 | 6b4127c7d52a |
parent 3925 | 27230c29bfec |
child 3930 | 01d98d68d697 |
--- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1284,7 +1284,7 @@ class localrepository(repo.repository): newheads = list(heads) for r in remote_heads: if r in self.changelog.nodemap: - desc = self.changelog.heads(r) + desc = self.changelog.heads(r, heads) l = [h for h in heads if h in desc] if not l: newheads.append(r)