D11014: context: use `dirstate.set_tracked` in context.add

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11014 AFFECTED FILES

D11022: revert: use `set_untracked` when performing a revert

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11022 AFFECTED FILES

D11021: mq: use `set_untracked` in `qrename`

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11021 AFFECTED FILES hgext/mq.py

D11019: dirstate: add a set_untracked method for "hg remove"-like usage

2021-07-08 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is a step further toward clarifying the semantic of various dirstate call.

D11017: mq: update the dirstate and its parent within a `parentchange` context

2021-07-08 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 more correct, and move our plan of separated API for different dirstate usage forward. note: maybe the `parentchange` context manager should

D11018: mq: use `set_tracked` in `qrename`

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11018 AFFECTED FILES hgext/mq.py

D11020: context: use `dirstate.set_untracked` in context.forget

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11020 AFFECTED FILES

D11015: context: use `dirstate.set_tracked` in context.copy

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11015 AFFECTED FILES

D11016: context: use `dirstate.set_tracked` for `revert`

2021-07-08 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 the new shinny API. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11016 AFFECTED FILES

Failed pipeline for branch/default | mercurial-devel | 57fb91be

2021-07-08 Thread Heptapod
Pipeline #24099 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: 57fb91be (

D11013: dirstate: add a set_tracked method for "hg add"-like usage

2021-07-08 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This is a step further toward clarifying the semantic of various dirstate call.

D11023: dirstate: introduce and internal `_drop` method

2021-07-08 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY dropping a file from the dirstate is decision that the dirstate itself should be able to move. So we will slowly migrate caller to more appropriate API. In

Failed pipeline for branch/default | mercurial-devel | 49169413

2021-07-08 Thread Heptapod
Pipeline #24110 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: 49169413 (

D11024: encoding: move case-related utils up

2021-07-08 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will be useful for the next commit that needs this code earlier. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D11025: ci-windows: introduce manual windows CI

2021-07-08 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Note: most of the foundational work of this commit was done by Matt Harbison, but enough has changed that I don't feel comfortable sending this patch as his.

Failed pipeline for branch/default | mercurial-devel | 0a05a610

2021-07-08 Thread Heptapod
Pipeline #24130 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: 0a05a610 (

D11029: sparse: clear rules in the context of a `parentchanges` context

2021-07-08 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 the same logic as the change we did for narrow. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11029

D11028: parse: make sure we adjust the dirstate while adjust the dirstate to parent

2021-07-08 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 more correct and help our API split. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11028 AFFECTED

D11026: revert: use `set_untracked` instead of `drop` when applicable

2021-07-08 Thread marmoute (Pierre-Yves David)
marmoute 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/D11026 AFFECTED FILES mercurial/cmdutil.py CHANGE DETAILS diff --git

D11027: narrow: update narrow spec within a dirstate.parentchange context

2021-07-08 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: durin42. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Even if the parents does not changes, the parents' content we consider is changed. So

mercurial@47506: 42 new changesets (5 on stable)

2021-07-08 Thread Mercurial Commits
42 new changesets (5 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/bc8536e09a20 changeset: 47465:bc8536e09a20 parent: 47463:5fa083a5ff04 user:Pierre-Yves David date:Tue Jun 22 11:09:25 2021 +0200 summary: revlog: rewrite `censors.py` to

D11030: parsers: move DirstateItem to attr.s

2021-07-08 Thread durin42 (Augie Fackler)
durin42 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/D11030 AFFECTED FILES mercurial/pure/parsers.py CHANGE DETAILS diff --git