D9489: registrar: clarify the documentation about some byte strings being required

2020-12-01 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I *thought* these needed to be byte strings, but didn't remember and had to search out examples. REPOSITORY rHG Mercurial BRANCH default REVISION

D9488: match: skip walking up the directory hierarchy if the number of pats are small

2020-12-01 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Previously, we would receive a path like abc/def/ghi and "walk up" the directory hierarchy, checking abc/def, abc, and `b''` to see if they were in the set of

D9478: rhg: add a test for --rev with a hex changeset ID

2020-12-01 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY And fix error message formatting REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9478 AFFECTED FILES

D9479: rhg: allow specifying a changeset ID prefix

2020-12-01 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9479 AFFECTED FILES rust/hg-core/src/revlog/revlog.rs tests/test-rhg.t

[Bug 6448] New: hg-evolve sometimes shows status changes even when the -q / --quiet option is set

2020-12-01 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6448 Bug ID: 6448 Summary: hg-evolve sometimes shows status changes even when the -q / --quiet option is set Product: Mercurial Version: default branch Hardware: PC

[Bug 6447] New: Mercurial needs to export it's call options when doing a shell bang

2020-12-01 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6447 Bug ID: 6447 Summary: Mercurial needs to export it's call options when doing a shell bang Product: Mercurial Version: default branch Hardware: PC OS: Linux

D9481: relnotes: document better memory use for unbundle

2020-12-01 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9481 AFFECTED FILES relnotes/next CHANGE DETAILS diff --git

mercurial-devel | Pipeline #13589 has failed for branch/default | 528cd9fc

2020-12-01 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: 528cd9fc (

mercurial-devel | Pipeline #13564 has failed for branch/default | 036e6f57

2020-12-01 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: 036e6f57 (

mercurial-devel | Pipeline #13604 has failed for branch/default | dfd1acfd

2020-12-01 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: dfd1acfd (

mercurial-devel | Pipeline #13638 has failed for branch/default | dfd1acfd

2020-12-01 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: dfd1acfd (

mercurial-devel | Pipeline #13639 has failed for branch/stable | 4aa25f8a

2020-12-01 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/stable ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/stable ) Commit: 4aa25f8a (

mercurial-devel | Pipeline #13639 has failed for branch/stable | 4aa25f8a

2020-12-01 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: branch/stable ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/branch/stable ) Commit: 4aa25f8a (

mercurial-devel | Pipeline #13686 has failed for branch/default | c02d5fa4

2020-12-01 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: c02d5fa4 (

mercurial-devel | Pipeline #13688 has failed for topic/default/simple-upgrade | dde5cb5f

2020-12-01 Thread Heptapod
Your pipeline has failed. Project: mercurial-devel ( https://foss.heptapod.net/octobus/mercurial-devel ) Branch: topic/default/simple-upgrade ( https://foss.heptapod.net/octobus/mercurial-devel/-/commits/topic/default/simple-upgrade ) Commit: dde5cb5f (

mercurial-devel | Pipeline #13497 has failed for branch/default | 66a22c92

2020-12-01 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: 66a22c92 (

mercurial-devel | Pipeline #13521 has failed for branch/default | 2b32876d

2020-12-01 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: 2b32876d (

mercurial-devel | Pipeline #13529 has failed for branch/default | 036e6f57

2020-12-01 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: 036e6f57 (

mercurial-devel | Pipeline #13476 has failed for branch/default | 98be0c3b

2020-12-01 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: 98be0c3b (

mercurial-devel | Pipeline #13402 has failed for branch/default | e9540c4a

2020-12-01 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: e9540c4a (

D9480: node: import symbols explicitly

2020-12-01 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger created this revision. Herald added a reviewer: durin42. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY There is

D9485: upgrade: extract the checking of target requirements change

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This logic is fairly independant, lets move it out of the main function. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9486: upgrade: gather code about requirement checking together

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY They just moved in the same file, now they are grouped together and documented. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9482: upgrade: move requirements checking in a dedicated function

2020-12-01 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 a simple an isolated check that can go next to the associated code. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9483: upgrade: gather code about source checking together

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY They just moved in the same file, now they are grouped together and documented. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9484: upgrade: drop an outdated comment

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY We can control the added/removed requirement through config for multiple years. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9487: upgrade: start moving the "to be happening" data in a dedicated object

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The upgrade code has a lot of logic to determine which action needs to be performed depending of various element (sometimes depending from each other). It

D9474: upgrade: capitalize the `deficiency` constant

2020-12-01 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 reworking this code and moving to the current naming scheme help readability. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9475: upgrade: move optimisation to something more declarative

2020-12-01 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 not great yet, but still better than the previous state. This get use one step closer to having all the possible "actions" clearly declared and moved

D9473: upgrade: capitalize the `deficiency` constant

2020-12-01 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 reworking this code and moving to the current naming scheme help readability. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

[PATCH 4 of 4] log: do not accept string-matcher pattern as -u/-b/-B parameter

2020-12-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1606821744 -32400 # Tue Dec 01 20:22:24 2020 +0900 # Node ID 8e8feec5114933aaa5224ff33acfa1bc9a52625c # Parent 773cf7f8899449979131792e82a49fc6bc0d25ec log: do not accept string-matcher pattern as -u/-b/-B parameter I'm pretty sure this is

[PATCH 2 of 4] scmutil: extract function that builds revset expr to select bookmark branch

2020-12-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1606818203 -32400 # Tue Dec 01 19:23:23 2020 +0900 # Node ID 3b3f53b5b57f32b10c6e5c8aacffab002fd793ea # Parent 4439db4d98bc5d5d05b709d0886cb81b1347516e scmutil: extract function that builds revset expr to select bookmark branch This is

[PATCH 3 of 4] log: do not override other filtering and sorting options by --bookmark

2020-12-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1606818756 -32400 # Tue Dec 01 19:32:36 2020 +0900 # Node ID 773cf7f8899449979131792e82a49fc6bc0d25ec # Parent 3b3f53b5b57f32b10c6e5c8aacffab002fd793ea log: do not override other filtering and sorting options by --bookmark This basically

[PATCH 1 of 4] scmutil: document that bookmarkrevs() ignores non-head bookmark branch

2020-12-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1606819561 -32400 # Tue Dec 01 19:46:01 2020 +0900 # Node ID 4439db4d98bc5d5d05b709d0886cb81b1347516e # Parent d42809b6b10ff91cf6fcad5914e77c6974195e78 scmutil: document that bookmarkrevs() ignores non-head bookmark branch "-

D9476: upgrade: split actual upgrade code away from the main module

2020-12-01 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The main module is getting big and hard to follow. So we are splitting all the logic to actually run an upgrade in a sub module. It nicely highlight that

D9477: upgrade: split definition and management of the actions from the main code

2020-12-01 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 a second step to clarify and clean up this code. The code responsible for definition which action exist, are possible and their compatibility if moved