internals: document when "hello" and "capabilities" commands were added
Both were introduced in 0.9.1.
"hello" made its entrance in
b17eebc911ae,
144280f1578f, and
a1cfe679192c to support SSH.
"capabilities" was added in
c660691fb45d to support HTTP.
Differential Revision: https://phab.mercurial-scm.org/D2000
tests: make doctest py3-compatible again
A parsed tree is replaced with parse(expr) because it sucks to add b'' to
every string literal.
lfs: emit a status message to indicate how many blobs were uploaded
Previously, there was a progress bar indicating the byte count, but then it
disappeared once the transfer was done. Having that value stay on the screen
seems useful. Downloads are done one at a time, so hold off on that until they
can be coalesced, to avoid a series of lines being printed. (I don't have any
great ideas on how to do that. It would be a shame to have to wrap a bunch of
read commands to be able to do this.)
I'm not sure if the 'lfs:' prefix is the right thing to do here. The others in
the test are verbose/debug messages, so in the normal case, this is the only
line that's prefixed.
discovery: don't reimplement all()
Differential Revision: https://phab.mercurial-scm.org/D1993
contrib: fix dirstatenonnormalcheck to work in Python 3
This is a redo of D1963 that has the added benefit of not breaking
Python 2. Oops.
# skip-blame because this is bytes prefixes and a s/iteritems/items/
Differential Revision: https://phab.mercurial-scm.org/D1970
python3: whitelist another 24 passing tests
Differential Revision: https://phab.mercurial-scm.org/D1911
mdiff: use slice instead of index on bytestr when checking single bytes
This is portable to Python 3.
Differential Revision: https://phab.mercurial-scm.org/D1992