mercurial-devel merge requestshttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests2024-02-13T13:40:29Zhttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/766branchmap: use mmap for faster revbranchcache loading2024-02-13T13:40:29ZArseniy Alekseyevbranchmap: use mmap for faster revbranchcache loading<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/765tests: fix nondeterministic test failure in test-contrib-perf.t2024-02-12T14:49:17ZArseniy Alekseyevtests: fix nondeterministic test failure in test-contrib-perf.t<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/764unbundle: faster computation of changed heads2024-02-12T14:53:41ZArseniy Alekseyevunbundle: faster computation of changed heads<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/763branchmap: use mmap for faster revbranchcache loading2024-02-12T14:50:54ZArseniy Alekseyevbranchmap: use mmap for faster revbranchcache loading<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/762grep: restore usage of --include/--exclude options2024-02-08T10:33:26ZMatt Harbisongrep: restore usage of --include/--exclude optionsThis was taken from the mailing list.
https://lists.mercurial-scm.org/pipermail/mercurial-devel/2024-February/297858.html
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important...This was taken from the mailing list.
https://lists.mercurial-scm.org/pipermail/mercurial-devel/2024-February/297858.html
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/761hghave changes2024-02-13T11:10:57ZManuel Jacobhghave changesIncludes !760.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-rel...Includes !760.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/760import-checker: make stdlib path detection work in virtual environments2024-02-13T11:10:57ZManuel Jacobimport-checker: make stdlib path detection work in virtual environmentsIncludes !759.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-rel...Includes !759.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/759cleanup: remove unnecessary list constructor calls around list comprehensions2024-02-13T11:10:57ZManuel Jacobcleanup: remove unnecessary list constructor calls around list comprehensions<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/758Draft: changelog: always return fresh extra dict for changeset2024-02-04T00:21:18ZManuel JacobDraft: changelog: always return fresh extra dict for changeset<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/757rust-changelog: don't panic on empty file lists2024-02-08T09:41:04ZArun Kulshreshtharust-changelog: don't panic on empty file listsThe Rust changelog code would previously panic when calling the `files` method on a changeset with an empty files list due to invalid slice indexing. The Python changelog code has a special case for empty file lists (it just returns an e...The Rust changelog code would previously panic when calling the `files` method on a changeset with an empty files list due to invalid slice indexing. The Python changelog code has a special case for empty file lists (it just returns an empty list), so it seems reasonable to add a special case here and return an empty iterator.https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/756tests: use sha256line.py instead of /dev/random in test-censor.t (issue6858)2024-01-25T10:26:32ZAnton Shestakovtests: use sha256line.py instead of /dev/random in test-censor.t (issue6858)<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/755tests: don't use "status" operand of dd in test-censor.t (issue6858)2024-01-17T10:43:57ZAnton Shestakovtests: don't use "status" operand of dd in test-censor.t (issue6858)<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/754bundle: highlight misbehavior when --base does not match any revision2024-01-12T08:40:45ZRaphaël Gomèsbundle: highlight misbehavior when --base does not match any revision<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/753cleanup revlog splitting part exclusive to the changelog.2024-01-22T12:19:53ZPierre-Yves Davidcleanup revlog splitting part exclusive to the changelog.<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant informatio...<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/752introduce subclass for delta-search2024-01-22T13:34:06ZPierre-Yves Davidintroduce subclass for delta-searchdepends on !747
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-r...depends on !747
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/751narrow: fix narrow acl exclusion enforcement2024-01-11T15:48:33ZArun Kulshreshthanarrow: fix narrow acl exclusion enforcementPreviously, it was possible for the user to remove excluded paths from their narrowspec that were added by server-side ACLs, meaning that ACLs could only be reliably enforced using includes rather than excludes. This change makes it an e...Previously, it was possible for the user to remove excluded paths from their narrowspec that were added by server-side ACLs, meaning that ACLs could only be reliably enforced using includes rather than excludes. This change makes it an error to remove an ACL-specified exclude, much like how it is not possible to add a non-ACL-specified include.https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/750pycompat: fix bytestr corner case with Python 3.112024-01-11T16:34:15ZGeorges Racinetpycompat: fix bytestr corner case with Python 3.11This corner case (using `pycompat.bytestr` for the `bytes` *type* itself) prevents the expected `ProgrammingError` to be properly raised in some changeset lookup scenarios, breaking the tests of heptapod/hgitaly>, and therefore blocking ...This corner case (using `pycompat.bytestr` for the `bytes` *type* itself) prevents the expected `ProgrammingError` to be properly raised in some changeset lookup scenarios, breaking the tests of heptapod/hgitaly>, and therefore blocking usage of Python 3.11 in Heptapod (a real pain for development setups, production readiness would be farther away).
Targeting the stable branch so that we can have it in the 6.6 series, and it is a minor bug anyway.https://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/749fix `hg bundle --base` when it match nothing2023-12-28T03:34:59ZPierre-Yves Davidfix `hg bundle --base` when it match nothingSee individual changesets for details
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You ca...See individual changesets for details
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/748generate-churning-bundle: fix script for python3 (on stable)2023-12-27T19:03:06ZPierre-Yves Davidgenerate-churning-bundle: fix script for python3 (on stable)As pointed by @mharbison72 on !746, the fix itself should be on stable. I kept !746 open as I need it merged in default.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important...As pointed by @mharbison72 on !746, the fix itself should be on stable. I kept !746 open as I need it merged in default.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->Pierre-Yves DavidPierre-Yves Davidhttps://foss.heptapod.net/mercurial/mercurial-devel/-/merge_requests/747move code in a _DeltaSearch object2024-01-22T13:34:06ZPierre-Yves Davidmove code in a _DeltaSearch objectA first step that mostly move code around before we start deeper rework in another series.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained...A first step that mostly move code around before we start deeper rework in another series.
<!--
Welcome to the Mercurial Merge Request creation process:
* Set a simple title for your MR,
* All important information should be contained in your changesets' content or description,
* You can add some workflow-relevant information here (eg: when this depends on another MR),
* If your changes are not ready for review yet, click `Start the title with Draft:` under the title.
More details here:
* https://www.mercurial-scm.org/wiki/ContributingChanges
* https://www.mercurial-scm.org/wiki/Heptapod
-->Pierre-Yves DavidPierre-Yves David