mercurial/commands.py
changeset 36422 04c319a07c7b
parent 36417 199443c55463
child 36473 ab5f18a9dcac
--- a/mercurial/commands.py	Sun Feb 25 22:30:14 2018 -0500
+++ b/mercurial/commands.py	Sun Feb 25 23:08:41 2018 -0500
@@ -3899,7 +3899,7 @@
         try:
             return hg.updatetotally(ui, repo, checkout, brev)
         except error.UpdateAbort as inst:
-            msg = _("not updating: %s") % str(inst)
+            msg = _("not updating: %s") % util.forcebytestr(inst)
             hint = inst.hint
             raise error.UpdateAbort(msg, hint=hint)
     if modheads > 1: