D2146: py3: port string formatting

2018-02-13 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6eb7d95f8970: py3: port string formatting (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2146?vs=5452=5628 REVISION

D2146: py3: port string formatting

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 5452. indygreg edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2146?vs=5431=5452 REVISION DETAIL https://phab.mercurial-scm.org/D2146 AFFECTED FILES hgext/rebase.py CHANGE

D2146: py3: port string formatting

2018-02-11 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. `r` looks like an integer, and `bytes(int)` is `'\0' * int`. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2146 To: indygreg, #hg-reviewers, yuja Cc:

D2146: py3: port string formatting

2018-02-11 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY bytes() should be used over str() when the output is bytes. None doesn't cast to an empty string on Python 3. So use '' explicitly. REPOSITORY rHG