D2261: py3: use pycompat.bytestr to convert str to bytes

2018-02-15 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGddeb7653b31c: py3: use pycompat.bytestr to convert str to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2261?vs=5726&i

D2261: py3: use pycompat.bytestr to convert str to bytes

2018-02-14 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 5726. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2261?vs=5701&id=5726 REVISION DETAIL https://phab.mercurial-scm.org/D2261 AFFECTED FILES mercurial/changelog.py mercurial/ui.py CHANGE DETAILS diff --git a/m

D2261: py3: use pycompat.bytestr to convert str to bytes

2018-02-14 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. Here `'%r' % pycompat.bytestr(user)` is preferred since repr(user) would leave `b''` prefix in error message. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm

D2261: py3: use pycompat.bytestr to convert str to bytes

2018-02-14 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2261 AFFECTED FILES mercurial/changelog.py mercurial/ui.py CHANGE DETAILS diff --git a/mercurial/ui.