##// END OF EJS Templates
subrepo: use util.forcebytestr() instead of str() on exception...
Augie Fackler -
r36439:1df7e7b8 default
parent child Browse files
Show More
@@ -73,7 +73,8 b' def annotatesubrepoerror(func):'
73 73 raise ex
74 74 except error.Abort as ex:
75 75 subrepo = subrelpath(self)
76 errormsg = str(ex) + ' ' + _('(in subrepository "%s")') % subrepo
76 errormsg = (util.forcebytestr(ex) + ' '
77 + _('(in subrepository "%s")') % subrepo)
77 78 # avoid handling this exception by raising a SubrepoAbort exception
78 79 raise SubrepoAbort(errormsg, hint=ex.hint, subrepo=subrepo,
79 80 cause=sys.exc_info())
General Comments 0
You need to be logged in to leave comments. Login now