diff mercurial/localrepo.py @ 3923:27230c29bfec 0.9.3

fix calculation of new heads added during push with -r fix issue450
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 17 Dec 2006 05:00:22 +0100
parents 46abbed02b2d
children 4df475e22248 e7282dede8cd
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Dec 16 23:33:24 2006 +0100
+++ b/mercurial/localrepo.py	Sun Dec 17 05:00:22 2006 +0100
@@ -1392,7 +1392,7 @@
                 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)