This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7eb937f598d1: py3: use util.forcebytestr() to convert error 
messages to bytes (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4811?vs=11495&id=11498

REVISION DETAIL
  https://phab.mercurial-scm.org/D4811

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -2669,7 +2669,8 @@
                     state['skipread'].add(node)
             except Exception as e:
                 yield revlogproblem(
-                    error=_('unpacking %s: %s') % (short(node), e),
+                    error=_('unpacking %s: %s') % (short(node),
+                                                   stringutil.forcebytestr(e)),
                     node=node)
                 state['skipread'].add(node)
 



To: pulkit, indygreg, #hg-reviewers
Cc: mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to