Thu, 17 Dec 2020 10:43:43 -0800 errors: respect ui.detailed-exit-code in chg
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
Thu, 17 Dec 2020 13:33:27 -0500 relnotes: document automatically setting `HGPLAIN=1` for external hooks
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
Sat, 28 Nov 2020 22:27:12 +0100 cext: isolate hash size in the revlog handling in a single place
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
Thu, 17 Dec 2020 12:28:39 +0100 rust: document how to enable debug information in optimized builds
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
Mon, 14 Dec 2020 18:09:37 -0800 filemerge: add support for the new "mergediff" marker style to premerge
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
Mon, 14 Dec 2020 14:31:15 +0100 test-narrow: mitigate the flakyness of test-narrow-shallow
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
Mon, 14 Dec 2020 18:03:29 -0500 hook: set `HGPLAIN=1` for external hooks
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
Mon, 14 Dec 2020 17:59:10 -0500 setup: exclude the git extension from py2 builds
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
Mon, 14 Dec 2020 14:59:23 +0100 rust: replace most "operation" structs with functions
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
Mon, 14 Dec 2020 13:47:44 +0100 rust: change &PathBuf parameters to &Path
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
(0) -30000 -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip