diff mercurial/localrepo.py @ 7709:752325f2208d

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Sun, 25 Jan 2009 12:09:51 -0600
parents 1574c2704b11 a32847fa0df0
children b7ac53f7b061
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jan 25 12:07:41 2009 -0600
+++ b/mercurial/localrepo.py	Sun Jan 25 12:09:51 2009 -0600
@@ -1242,7 +1242,7 @@
             n, l, i = top, [], 0
             f = 1
 
-            while n != bottom:
+            while n != bottom and n != nullid:
                 p = self.changelog.parents(n)[0]
                 if i == f:
                     l.append(n)