- Feb 02, 2022
-
-
Raphaël Gomès authored
-
Raphaël Gomès authored
-
Raphaël Gomès authored
Differential Revision: https://phab.mercurial-scm.org/D12130
-
- Feb 01, 2022
-
-
Pierre-Yves David authored
If we are about to write the branch while a transaction is active. we delay that write. After the transaction is closed, we flush all the write we delayed (unless they have been written in between). Differential Revision: https://phab.mercurial-scm.org/D12128
-
- Jan 31, 2022
-
-
Pierre-Yves David authored
This will be useful to fix the timing of the branchmap on disk caching. Differential Revision: https://phab.mercurial-scm.org/D12127
-
- Feb 01, 2022
-
-
Pierre-Yves David authored
It turn out that we update the branchmap on disk whenever we recompute it… including in a middle of a transaction. This means writing the new branchmap too early (the changeset are not visible yet) and worse… it mean writing branchmap for transaction we rollback. so we introduce a test to highlight the issue (and prevent it to regress in the future). Differential Revision: https://phab.mercurial-scm.org/D12126
-
Pierre-Yves David authored
The rename of the old experimental name was overlooked before the 6.0 release. We rename everything to use the new name (and keep the released name as an alias for compatibility). Differential Revision: https://phab.mercurial-scm.org/D12129
-
- Jan 24, 2022
-
-
Pierre-Yves David authored
The `supportedformat` requirements is missing some important requirements and it seems better to filter out with all requirements we know, not just an "arbitrary" subset. The `supportedformat` set is lacking some important requirements (for example `revlog-compression-zstd`). This is getting fixed on default (for Mercurial 6.1) However, fixing that in 6.1 means the stream requirements sent over the wire will contains more items. And if we don't apply this fix on older version, they might end up complaining about lacking support for feature they actually support for years. This patch does not fix the deeper problem (advertised stream requirement lacking some of them), but focus on the trivial part : Lets use the full set of supported requirement for looking for unsupported ones. This patch should be simple to backport to older version of Mercurial and packager should be encouraged to do so. This is a graft of d9017df70135 from default. Differential Revision: https://phab.mercurial-scm.org/D12091
-
- Jan 18, 2022
-
-
Raphaël Gomès authored
This makes it so the list renders properly. Differential Revision: https://phab.mercurial-scm.org/D12007
-
- Jan 25, 2022
-
-
Martin von Zweigbergk authored
It's better to error out than to produce a bad commit. We do that same in `hg uncommit`. I haven't looked into how much work it is to make them work instead. Differential Revision: https://phab.mercurial-scm.org/D12087
-
Martin von Zweigbergk authored
When `hg unamend` is run on a merge commit, it seems that it loses the changes from the second parent. Differential Revision: https://phab.mercurial-scm.org/D12086
-
- Jan 20, 2022
-
-
Arseniy Alekseyev authored
Fix a repo corruption bug caused by a partial transaction rollback. Differential Revision: https://phab.mercurial-scm.org/D12009
-
Arseniy Alekseyev authored
Differential Revision: https://phab.mercurial-scm.org/D12008
-
- Dec 30, 2021
-
-
Dan Villiom Podlaski Christiansen authored
I'm not all _that_ versed in Rust, but I think the root cause is that some constants are u16 rather than u32 on Darwin. I checked that the code still compiles on the latest Ubuntu. Differential Revision: https://phab.mercurial-scm.org/D11955
-
- Jan 10, 2022
-
-
Matt Harbison authored
While it worked fine for the top level repo, the remote path for the subrepo got mangled to something like "https://server/prefix\repo\subrepo", which I've seen result in both a 400 and a 404, depending on the server. We need to `normpath` at least the `subpath` because of "http://user:***@localhost:$HGPORT/main/../sub" in `test-subrepo-relative-path.t`. Keep the `os.path` flavor for handling filesystem based remote repos, since this string is also displayed. This is one case where the automatic substitution of '\' for '/' and rematching done by the test runner is unfortunate- I don't see how to write a test to catch this. Differential Revision: https://phab.mercurial-scm.org/D11971
-
- Jan 05, 2022
-
-
Raphaël Gomès authored
-
Raphaël Gomès authored
-
- Nov 26, 2021
-
-
Raphaël Gomès authored
Differential Revision: https://phab.mercurial-scm.org/D11811
-
Raphaël Gomès authored
Differential Revision: https://phab.mercurial-scm.org/D11810
-
Raphaël Gomès authored
A user trying out the dirstate-v2 feature without the Rust extensions is currently faced with an error message suggesting this help section, which does not exist. Differential Revision: https://phab.mercurial-scm.org/D11809
-
Raphaël Gomès authored
This makes the features more discoverable for users. Differential Revision: https://phab.mercurial-scm.org/D11808
-
- Jan 03, 2022
-
-
Raphaël Gomès authored
The dance continues, we make the Windows tests optional once again since we don't have Windows runners available anymore. We're working on getting new ones in a more stable fashion, hopefully soon. Differential Revision: https://phab.mercurial-scm.org/D11957
-
- Aug 25, 2021
-
-
Julien Cristau authored
-
- Nov 29, 2021
-
-
Arseniy Alekseyev authored
Differential Revision: https://phab.mercurial-scm.org/D11817
-
- Nov 16, 2021
-
-
Arseniy Alekseyev authored
sparse: lock the store when updating requirements config Differential Revision: https://phab.mercurial-scm.org/D11766
-
- Dec 13, 2021
-
-
Matt Harbison authored
The mac tests were raising an AttributeError without the default arg. Differential Revision: https://phab.mercurial-scm.org/D11906
-
Matt Harbison authored
These were flagged by pytype (which is currently disabled on this file due to another failure). Differential Revision: https://phab.mercurial-scm.org/D11905
-
- Dec 06, 2021
-
-
Pierre-Yves David authored
This used to crash as the dirstate file does not exist in this case. Differential Revision: https://phab.mercurial-scm.org/D11866
-
Pierre-Yves David authored
There is no reason to gate this anymore. Differential Revision: https://phab.mercurial-scm.org/D11865
-
- Dec 07, 2021
-
-
Pierre-Yves David authored
This breaks on Windows, so lets use `>2 /dev/null` like in the other tests. Differential Revision: https://phab.mercurial-scm.org/D11873
-
- Dec 06, 2021
-
-
Pierre-Yves David authored
This will make the test less noisy when new requirement are added. Differential Revision: https://phab.mercurial-scm.org/D11864
-
- Nov 25, 2021
-
-
Raphaël Gomès authored
Persistent nodemap files might not exist on a fresh repository, so ignore the potential missing file errors. Differential Revision: https://phab.mercurial-scm.org/D11806
-
- Dec 07, 2021
-
-
Raphaël Gomès authored
... oops. Differential Revision: https://phab.mercurial-scm.org/D11875
-
- Dec 06, 2021
-
-
Raphaël Gomès authored
Differential Revision: https://phab.mercurial-scm.org/D11862
-
- Nov 28, 2021
-
-
Thomas Klausner authored
Differential Revision: https://phab.mercurial-scm.org/D11816
-
- Nov 23, 2021
-
-
Pulkit Goyal authored
-
Pulkit Goyal authored
-
- Nov 17, 2021
-
-
Mathias De Mare authored
This makes it possible to install multiple Mercurial rpms on the same machine in different locations. Differential Revision: https://phab.mercurial-scm.org/D11768
-
Mathias De Mare authored
Using uid 1000 and gid 1000 works by default in some cases, but 'id -u' and 'id -g' should work in all cases. Differential Revision: https://phab.mercurial-scm.org/D11767
-
- Nov 18, 2021
-
-
kiilerix authored
Py_SIZE was made a static inline function during Python 3.10 development, as described on https://vstinner.github.io/c-api-opaque-structures.html . e92ca942ddca updated the Mercurial code base accordingly, but somehow missed a couple of cases introduced long time ago in a8c948ee3668. The Python change was dropped for 3.10, but is coming back again in 3.11 .
-