Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 14 Dec 2020 11:32:20 +0100] rev 46148
copies: document the current algorithm step
We are about to reorganise everything and we document the "old" way to clarify
the change that leads to the "new way".
Differential Revision: https://phab.mercurial-scm.org/D9581
Yuya Nishihara <yuya@tcha.org> [Thu, 24 Dec 2020 15:58:08 +0900] rev 46147
log: update documentation about --follow with/without --rev (
issue6459)
Pulkit Goyal <7895pulkit@gmail.com> [Sat, 12 Dec 2020 15:27:58 +0530] rev 46146
contrib: run python3+chg tests too in heptapod CI
Recent patches made the CI on python3+chg green. Let's enable this before there
are more failures to fix.
Differential Revision: https://phab.mercurial-scm.org/D9569
Pulkit Goyal <7895pulkit@gmail.com> [Fri, 18 Dec 2020 13:53:26 +0530] rev 46145
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.
Joerg Sonnenberger <joerg@bec.de> [Thu, 17 Dec 2020 18:08:25 +0100] rev 46144
cext: shut-up sign compare warnings
Differential Revision: https://phab.mercurial-scm.org/D9627
Martin von Zweigbergk <martinvonz@google.com> [Thu, 17 Dec 2020 10:43:43 -0800] rev 46143
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
Matt Harbison <matt_harbison@yahoo.com> [Thu, 17 Dec 2020 13:33:27 -0500] rev 46142
relnotes: document automatically setting `HGPLAIN=1` for external hooks
Differential Revision: https://phab.mercurial-scm.org/D9629
Joerg Sonnenberger <joerg@bec.de> [Sat, 28 Nov 2020 22:27:12 +0100] rev 46141
cext: isolate hash size in the revlog handling in a single place
Differential Revision: https://phab.mercurial-scm.org/D9450
Simon Sapin <simon.sapin@octobus.net> [Thu, 17 Dec 2020 12:28:39 +0100] rev 46140
rust: document how to enable debug information in optimized builds
This is particularly useful when profiling.
Differential Revision: https://phab.mercurial-scm.org/D9625
Martin von Zweigbergk <martinvonz@google.com> [Mon, 14 Dec 2020 18:09:37 -0800] rev 46139
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
Pierre-Yves David <pierre-yves.david@octobus.net> [Mon, 14 Dec 2020 14:31:15 +0100] rev 46138
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
Matt Harbison <matt_harbison@yahoo.com> [Mon, 14 Dec 2020 18:03:29 -0500] rev 46137
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
Matt Harbison <matt_harbison@yahoo.com> [Mon, 14 Dec 2020 17:59:10 -0500] rev 46136
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
Simon Sapin <simon.sapin@octobus.net> [Mon, 14 Dec 2020 14:59:23 +0100] rev 46135
rust: replace most "operation" structs with functions
The hg-core crate has a partially-formed concept of "operation",
represented as structs with constructors and a `run` method.
Each struct’s contructor takes different parameters,
and each `run` has a different return type.
Constructors typically don’t do much more than store parameters
for `run` to access them.
There was a comment about adding an `Operation` trait
when the language supports expressing something so general,
but it’s hard to imagine how operations with such different APIs
could be used in a generic context.
This commit starts removing the concept of "operation",
since those are pretty much just functions.
Differential Revision: https://phab.mercurial-scm.org/D9595
Simon Sapin <simon.sapin@octobus.net> [Mon, 14 Dec 2020 13:47:44 +0100] rev 46134
rust: change &PathBuf parameters to &Path
This is just as useful in function bodies, and a less strict requirement for callers.
Differential Revision: https://phab.mercurial-scm.org/D9594
Martin von Zweigbergk <martinvonz@google.com> [Wed, 16 Dec 2020 21:06:29 -0800] rev 46133
extdiff: add --from/--to and deprecate -r, as was done for `hg diff`
I recently replaced `hg diff`'s `-r` flag by `--from` and `--to` and
then deprecated the `-r` flag. This patch repeats that for
`hg extdiff`.
Differential Revision: https://phab.mercurial-scm.org/D9624