mercurial/revlog.py
branchstable
changeset 12949 6878eaa5a40d
parent 12890 b1c839659140
child 12950 2405b4a5964a
--- a/mercurial/revlog.py	Mon Nov 08 01:41:42 2010 +0100
+++ b/mercurial/revlog.py	Sun Nov 07 18:16:07 2010 +0900
@@ -869,6 +869,8 @@
         return c
 
     def descendant(self, start, end):
+        if start == nullrev:
+            return True
         for i in self.descendants(start):
             if i == end:
                 return True