Mercurial > hg
diff mercurial/changelog.py @ 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 | 234e40e636a8 |
children | f89fd07fc51d |
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