changelog: backed out changeset 86de91c56355
authorMatt Mackall <mpm@selenic.com>
Wed, 02 Mar 2016 16:05:30 -0600
changeset 28315 9e3f505b1d50
parent 28314 918b64c91e6c
child 28316 c0cecc153d25
changelog: backed out changeset 86de91c56355
mercurial/changelog.py
mercurial/context.py
--- a/mercurial/changelog.py	Wed Mar 02 12:46:54 2016 -0600
+++ b/mercurial/changelog.py	Wed Mar 02 16:05:30 2016 -0600
@@ -342,7 +342,7 @@
         desc = encoding.tolocal(text[last + 2:])
         l = text[:last].split('\n')
         manifest = bin(l[0])
-        user = l[1]
+        user = encoding.tolocal(l[1])
 
         tdata = l[2].split(' ', 2)
         if len(tdata) != 3:
--- a/mercurial/context.py	Wed Mar 02 12:46:54 2016 -0600
+++ b/mercurial/context.py	Wed Mar 02 16:05:30 2016 -0600
@@ -548,7 +548,7 @@
         return self._changeset[0]
 
     def user(self):
-        return encoding.tolocal(self._changeset[1])
+        return self._changeset[1]
     def date(self):
         return self._changeset[2]
     def files(self):