chgserver: respect detailed exit code in case of ConfigError
This effectively backs out
60523483897cf8caf7718aaf81c58d4d9fd5e1fa
which was a bandaid. Martin yesterday fixed a similar failure which motivated me
to fix it the correct way.
cext: shut-up sign compare warnings
Differential Revision: https://phab.mercurial-scm.org/D9627
errors: respect ui.detailed-exit-code in chg
This fixes `test-globalopts.t`, which has been failing since
db5dddb38f5b (errors: raise InputError on early parse error in
dispatch, 2020-11-23).
Differential Revision: https://phab.mercurial-scm.org/D9630
relnotes: document automatically setting `HGPLAIN=1` for external hooks
Differential Revision: https://phab.mercurial-scm.org/D9629
cext: isolate hash size in the revlog handling in a single place
Differential Revision: https://phab.mercurial-scm.org/D9450
rust: document how to enable debug information in optimized builds
This is particularly useful when profiling.
Differential Revision: https://phab.mercurial-scm.org/D9625
filemerge: add support for the new "mergediff" marker style to premerge
This adds support for the new "mergediff" conflict marker style to
"merge-tools.<tool>.premerge" (the new value is called
"keep-mergediff").
Differential Revision: https://phab.mercurial-scm.org/D9606
test-narrow: mitigate the flakyness of test-narrow-shallow
The actual bug still need fixing, but in the meantime the flakyness is wasting
everybody's time.
Differential Revision: https://phab.mercurial-scm.org/D9593
hook: set `HGPLAIN=1` for external hooks
External hooks will probably turn around and run hg commands, so this seems like
a reasonable convenience for people who miss it in the documentation.
There are no test changes because `printenv.py` filters out anything without a
"HG_" prefix. It wouldn't be a useful test anyway, because this is already
inherited from the test environment.
Differential Revision: https://phab.mercurial-scm.org/D9605
setup: exclude the git extension from py2 builds
This can't be built on Windows with the py2 compiler, and while old versions can
be installed via pip on Linux, I can't get the tests to run (even with py3.8)
using pygit2 0.28.2. Some manually run commands work, and others spew stack
traces that don't occur with the current 1.4.0 release using py3.
Differential Revision: https://phab.mercurial-scm.org/D9604