Fix data reported for the nullid changeset
authorMatt Mackall <mpm@selenic.com>
Thu, 29 Sep 2005 15:18:32 -0700
changeset 1364 0f25830f6bc3
parent 1363 8549335d19fc
child 1365 74cf45f8bc19
Fix data reported for the nullid changeset
mercurial/changelog.py
--- a/mercurial/changelog.py
+++ b/mercurial/changelog.py
@@ -15,7 +15,7 @@ class changelog(revlog):
 
     def extract(self, text):
         if not text:
-            return (nullid, "", "0", [], "")
+            return (nullid, "", (0, 0), [], "")
         last = text.index("\n\n")
         desc = text[last + 2:]
         l = text[:last].splitlines()