D9766: tests: wider work around matching in test-narrow-shallow.t

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Since issue6150 is still not fixed, we have to accommodate a larger array of possible results. Otherwise we get frequent

mercurial-devel | Pipeline #16363 has failed for branch/default | d0e81ade

2021-01-13 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: d0e81ade (

D9761: persistent-nodemap: add a "warn" option to the slow-path config

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY And make it the default until we get an abort option. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9763: persistent-nodemap: drop the storage.revlog.nodemap.mode config

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We now have a new, better, higher level, option. So we can drop the older one as planned. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9765: persistent-nodemap: enable the feature by default when using Rust

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY As discussed at the 5.6 sprint, we can make it enabled by default, but only for Rust installation. REPOSITORY rHG Mercurial BRANCH default REVISION

D9762: persistent-nodemap: add a "abort" option to the slow-path config

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We make it the default, and document the behavior in the help for the main config option. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9764: persistent-nodemap: remove the "experimental" tag to the feature

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This has been around for a while and has all the discussed configuration options. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9760: persistent-node: check the value of the slow-path config

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We should probably provide some standard for this in config item, but this is a quest for another adventure. REPOSITORY rHG Mercurial BRANCH default

D9756: persistent-nodemap: rename the storage.revlog.nodemap.mmap option

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Since the feature is publicly known as "persistent-nodemap" this seems better to reference it as "persistent-nodemap" in related config too. So we rename the

D9759: ui: add a "config_default" method

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This allow code to access the expected value for a config. This is useful in the context of dynamic default value, and short term it will be useful to write

D9758: persistent-nodemap: add a revlog.storage.persistent-nodemap.slow-path option

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY As discussed during the sprint, we want to prevent user to get an unexpected performance regression when accessing a repository using "persistent-nodemap"

D9757: persistent-nodemap: document storage.revlog.persistent-nodemap.mmap=no

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The feature is gaining public facing document, its options too. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9755: persistent-nodemap: document the feature in `hg help config.format`

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is necessary before we advertise the feature more. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9755

D9754: persistent-nodemap: write down the sprint conclusion

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This write down the plan for turning feature that are only fast when the rust extension exists. Future changesets will implement it. REPOSITORY rHG

D9753: persistent-nodemap: document the `devel.persistent-nodemap` option

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY What it does is not obvious. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9753 AFFECTED FILES

[Bug 6466] New: '@:: - @' fails unexpectedly

2021-01-13 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6466 Bug ID: 6466 Summary: '@:: - @' fails unexpectedly Product: Mercurial Version: 5.6.1 Hardware: All OS: All Status: UNCONFIRMED Severity: bug

D9752: fuzz: try and ensure fuzzer tests run against the right python-config

2021-01-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Also only under python 3. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9752 AFFECTED FILES

mercurial-devel | Pipeline #16363 has failed for branch/default | d0e81ade

2021-01-13 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: d0e81ade (

mercurial-devel | Pipeline #16362 has failed for branch/default | fda70ff7

2021-01-13 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: fda70ff7 (

mercurial-devel | Pipeline #16359 has failed for branch/default | b58dc852

2021-01-13 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: b58dc852 (

D9751: perf: don't turn byte to string when formatting perfbranchmap

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I am not sure why this `str` all is there is the first place. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9750: node: introduce nodeconstants class

2021-01-13 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: indygreg. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. joerg.sonnenberger added a comment. This is the API changing part of D9465

Re: New revlog format, plan page

2021-01-13 Thread Pierre-Yves David
On 1/11/21 4:14 PM, Joerg Sonnenberger wrote: On Mon, Jan 11, 2021 at 01:12:30PM +0100, Pierre-Yves David wrote: (1) Some of the current cache we have would fit well in such index * The hgtagsfnodes cache: taking 4 bytes to cache the `.hgtags` revision number associated with a changelog

mercurial-devel | Pipeline #16351 has failed for branch/default | ce0623bd

2021-01-13 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/default ) Commit: ce0623bd (

D9749: persistent-nodemap: also list related file as part of the store

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This make sure they are will be selected during upgrade, and copy based clone. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9748: upgrade: explicitly test for revlog index

2021-01-13 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We do not want to exclude `.d` we want to only include `.i`. We are about to add more extension type (for the persistent nodemap: `.n`, `.nd`) so lets make

D9747: largefiles: remove unused imports

2021-01-13 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This fixes test-check-pyflakes.t REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9747 AFFECTED FILES