mercurial/cmdutil.py
changeset 13047 6c375e07d673
parent 12973 6e0a9f9227bd
child 13081 79184986658c
--- a/mercurial/cmdutil.py	Wed Nov 24 15:38:52 2010 -0600
+++ b/mercurial/cmdutil.py	Wed Nov 24 15:56:32 2010 -0600
@@ -801,7 +801,6 @@
         branch = ctx.branch()
         # don't show the default branch name
         if branch != 'default':
-            branch = encoding.tolocal(branch)
             self.ui.write(_("branch:      %s\n") % branch,
                           label='log.branch')
         for tag in self.repo.nodetags(changenode):
@@ -1357,8 +1356,7 @@
     if ctx.p2():
         edittext.append(_("HG: branch merge"))
     if ctx.branch():
-        edittext.append(_("HG: branch '%s'")
-                        % encoding.tolocal(ctx.branch()))
+        edittext.append(_("HG: branch '%s'") % ctx.branch())
     edittext.extend([_("HG: subrepo %s") % s for s in subs])
     edittext.extend([_("HG: added %s") % f for f in added])
     edittext.extend([_("HG: changed %s") % f for f in modified])