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	Thu Sep 29 13:20:03 2005 -0700
+++ b/mercurial/changelog.py	Thu Sep 29 15:18:32 2005 -0700
@@ -15,7 +15,7 @@
 
     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()