Patchwork [03,of,10] hg: bytes for errors

login
register
mail settings
Submitter timeless
Date May 12, 2016, 1:23 a.m.
Message ID <5392b4af13e14ca77b24.1463016191@gcc2-power8.osuosl.org>
Download mbox | patch
Permalink /patch/15051/
State Rejected
Headers show

Comments

timeless - May 12, 2016, 1:23 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1461035373 0
#      Tue Apr 19 03:09:33 2016 +0000
# Node ID 5392b4af13e14ca77b24e94f7d390d89384b0ef5
# Parent  0669c0d7de92c4ef5207272ad17d1126338aa985
# Available At bb://timeless/mercurial-crew
#              hg pull bb://timeless/mercurial-crew -r 5392b4af13e1
hg: bytes for errors

Patch

diff -r 0669c0d7de92 -r 5392b4af13e1 mercurial/hg.py
--- a/mercurial/hg.py	Tue Apr 19 03:09:08 2016 +0000
+++ b/mercurial/hg.py	Tue Apr 19 03:09:33 2016 +0000
@@ -162,7 +162,7 @@ 
     repo = peer.local()
     if not repo:
         raise error.Abort(_("repository '%s' is not local") %
-                         (path or peer.url()))
+                         (path or peer.url()).encode('utf-8'))
     return repo.filtered('visible')
 
 def peer(uiorrepo, opts, path, create=False):