changeset 7802:dd970a311ea8

merge with stable
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sun, 25 Jan 2009 19:15:49 +0100
parents d821ea464465 (current diff) a32847fa0df0 (diff)
children 6d99ff7b79b5
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jan 25 18:55:29 2009 +0100
+++ b/mercurial/localrepo.py	Sun Jan 25 19:15:49 2009 +0100
@@ -1237,7 +1237,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)