Submitter | Pierre-Yves David |
---|---|
Date | Dec. 10, 2012, 5:30 p.m. |
Message ID | <6e54226c69bb73b0f8f1.1355160625@crater1.logilab.fr> |
Download | mbox | patch |
Permalink | /patch/41/ |
State | Superseded, archived |
Commit | 739c88ff043c10edfaf741cbac64901f47c10e5d |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2198,12 +2198,12 @@ class localrepository(object): The nodes in common might not all be known locally due to the way the current discovery protocol works. """ cl = self.changelog if common: - nm = cl.nodemap - common = [n for n in common if n in nm] + hasnode = cl.hasnode + common = [n for n in common if hasnode(n)] else: common = [nullid] if not heads: heads = cl.heads() return self.getlocalbundle(source,