Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/cmdutil.py @ 3824:3674ca805a5b
log: convert branch names to the local encoding
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 08 Dec 2006 01:36:50 -0200 |
parents | 000d122071b5 |
children | 7df171ea50cd |
line wrap: on
line diff
--- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -261,6 +261,7 @@ class changeset_printer(object): self.ui.write(_("changeset: %d:%s\n") % (rev, hexfunc(changenode))) if branch: + branch = util.tolocal(branch) self.ui.write(_("branch: %s\n") % branch) for tag in self.repo.nodetags(changenode): self.ui.write(_("tag: %s\n") % tag) @@ -404,6 +405,7 @@ class changeset_templater(changeset_prin def showbranches(**args): branch = changes[5].get("branch") if branch: + branch = util.tolocal(branch) return showlist('branch', [branch], plural='branches', **args) # add old style branches if requested if self.brinfo: