changeset 5791:d09ccdbf7286

changelog: fix decoding of extra (spotted by pmezard)
author Matt Mackall <mpm@selenic.com>
date Thu, 03 Jan 2008 13:46:39 -0600
parents f85c0034a062
children 956e01c31914 68f5bf9aa582
files mercurial/changelog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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