##// END OF EJS Templates
py3: use util.forcebytestr() to convert push lock error to bytes
Matt Harbison -
r39947:d1bc6cf2 default
parent child Browse files
Show More
@@ -522,7 +522,8 b' def push(repo, remote, force=False, revs'
522 # source repo cannot be locked.
522 # source repo cannot be locked.
523 # We do not abort the push, but just disable the local phase
523 # We do not abort the push, but just disable the local phase
524 # synchronisation.
524 # synchronisation.
525 msg = 'cannot lock source repository: %s\n' % err
525 msg = ('cannot lock source repository: %s\n'
526 % stringutil.forcebytestr(err))
526 pushop.ui.debug(msg)
527 pushop.ui.debug(msg)
527
528
528 with wlock or util.nullcontextmanager(), \
529 with wlock or util.nullcontextmanager(), \
General Comments 0
You need to be logged in to leave comments. Login now