D5263: py3: add b suffix to make sure file is opened in bytes mode

2018-11-13 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/D5263 AFFECTED FILES hgext/remotefilelog/basepack.py hgext/remotefilelog/basestore.py hgext/remotefil

D5263: py3: add b suffix to make sure file is opened in bytes mode

2018-11-13 Thread indygreg (Gregory Szorc)
indygreg added a comment. Ideally we'd be using the vfs layer for I/O. But that is scope bloat and I'm not going to make you rewrite RFL to do things more correctly. INLINE COMMENTS > fileserverclient.py:485 > if fetches: > -msg = ("%s files fetched over %d fetches - " +

D5263: py3: add b suffix to make sure file is opened in bytes mode

2018-11-13 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGaa588bf40a08: py3: add b suffix to make sure file is opened in bytes mode (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5263