changelog: fix decoding of extra
authorMatt Mackall <mpm@selenic.com>
Thu, 03 Jan 2008 13:46:39 -0600
changeset 5791 d09ccdbf7286
parent 5790 f85c0034a062
child 5792 956e01c31914
child 5793 68f5bf9aa582
changelog: fix decoding of extra (spotted by pmezard)
mercurial/changelog.py
--- a/mercurial/changelog.py	Thu Jan 03 06:25:30 2008 +0900
+++ b/mercurial/changelog.py	Thu Jan 03 13:46:39 2008 -0600
@@ -121,7 +121,7 @@
         extra = {}
         for l in text.split('\0'):
             if l:
-                k, v = text.decode('string_escape').split(':', 1)
+                k, v = l.decode('string_escape').split(':', 1)
                 extra[k] = v
         return extra