Show More
@@ -73,7 +73,8 b' def annotatesubrepoerror(func):' | |||||
73 | raise ex |
|
73 | raise ex | |
74 | except error.Abort as ex: |
|
74 | except error.Abort as ex: | |
75 | subrepo = subrelpath(self) |
|
75 | subrepo = subrelpath(self) | |
76 | errormsg = str(ex) + ' ' + _('(in subrepository "%s")') % subrepo |
|
76 | errormsg = (util.forcebytestr(ex) + ' ' | |
|
77 | + _('(in subrepository "%s")') % subrepo) | |||
77 | # avoid handling this exception by raising a SubrepoAbort exception |
|
78 | # avoid handling this exception by raising a SubrepoAbort exception | |
78 | raise SubrepoAbort(errormsg, hint=ex.hint, subrepo=subrepo, |
|
79 | raise SubrepoAbort(errormsg, hint=ex.hint, subrepo=subrepo, | |
79 | cause=sys.exc_info()) |
|
80 | cause=sys.exc_info()) |
General Comments 0
You need to be logged in to leave comments.
Login now