##// END OF EJS Templates
scmutil: wrap locker information in bytestr before repr()ing it...
Augie Fackler -
r40203:c554dc0c default
parent child Browse files
Show More
@@ -171,7 +171,8 b' def callcatch(ui, func):'
171 # Mercurial-specific first, followed by built-in and library exceptions
171 # Mercurial-specific first, followed by built-in and library exceptions
172 except error.LockHeld as inst:
172 except error.LockHeld as inst:
173 if inst.errno == errno.ETIMEDOUT:
173 if inst.errno == errno.ETIMEDOUT:
174 reason = _('timed out waiting for lock held by %r') % inst.locker
174 reason = _('timed out waiting for lock held by %r') % (
175 pycompat.bytestr(inst.locker))
175 else:
176 else:
176 reason = _('lock held by %r') % inst.locker
177 reason = _('lock held by %r') % inst.locker
177 ui.error(_("abort: %s: %s\n") % (
178 ui.error(_("abort: %s: %s\n") % (
General Comments 0
You need to be logged in to leave comments. Login now