scmutil: fix requires-file isalnum() check on first byte
Slice instead of subscript to get a bytes from a bytes.
# skip-blame just a py3 slice-instead-of-subscript change
Differential Revision: https://phab.mercurial-scm.org/D2341
largefiles: mark headre as bytes regex
Differential Revision: https://phab.mercurial-scm.org/D2340
largfiles: replace filter() with listcomp when result needs to be a list
filter() is a generator on Python 3, but these cases are used as lists.
Differential Revision: https://phab.mercurial-scm.org/D2339
largefiles: make scheme regex a bytes regex
# skip-blame just a b prefix
Differential Revision: https://phab.mercurial-scm.org/D2338
debuginstall: do not parse editor command in posix way on Windows
An editor command is executed by a system shell, which is cmd.exe on Windows.
py3: use bytes() to byte-stringify url object in url.py
Perhaps we'll have to convert it back and forth from/to bytes and unicode
at urllib boundary, but at least util.hidepassword() wants a byte string.
url: show full url of proxy server in debug message
This only fixes the debug message spotted by
issue5796.
py3: make sure we are doing integer division by using '//'
Differential Revision: https://phab.mercurial-scm.org/D2337