[Bug 6604] New: _TextTestResult was removed in favour TextTestResult in Python 3.11

2021-10-15 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6604 Bug ID: 6604 Summary: _TextTestResult was removed in favour TextTestResult in Python 3.11 Product: Mercurial Version: default branch Hardware: PC OS: Linux

D11680: push: add option to abort on dirty working copy if parent is pushed

2021-10-15 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This patch adds a config option to make it an error to push the parent of the working copy when the working copy is dirty. We have had this feature enabled

mercurial-devel | Failed pipeline for branch/default | 80b457ca

2021-10-15 Thread Heptapod
Pipeline #27825 has failed! Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel ) Branch: branch/default ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/default ) Commit: 80b457ca ( https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/

D11679: rhg: simplify the type of FilelogEntry

2021-10-15 Thread aalekseyev (Arseniy Alekseyev)
aalekseyev created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY rhg: add FilelogEntry.into_data rhg: internally, return a structured representatioon from hg cat REPOSITORY rHG Mercurial BRANCH default REVISION DE

[Bug 6603] New: Wrong modified file in hg status in share context

2021-10-15 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6603 Bug ID: 6603 Summary: Wrong modified file in hg status in share context Product: Mercurial Version: 5.7.1 Hardware: PC OS: Linux Status: UNCONFIRMED Severi

Re: Call for comments on new dirstate format contents

2021-10-15 Thread Pierre-Yves David
On 10/13/21 10:57 AM, Simon Sapin wrote: On 28/06/2021 11:49, Raphaël Gomès wrote: Hello all, As you probably know my colleagues at Octobus and I have been working on a new version of the dirstate, and we're coming pretty close to something usable in production, so we need to freeze the format

D11678: rust: reformat Rust code

2021-10-15 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY (cd rust && cargo +nightly fmt) REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11678 AFFECTED FILES rust/

D11675: bookmarks: move the `mirror` option to the `paths` section

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY A new `bookmarks` section with a `mirror` option have been added. That option has never been released yet. This new options is limited since it affect all

D11677: bookmarks: add a `ignore` variant of the bookmark mode

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This new mode allow to disable bookmark exchange with some path (or all path). REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercu

D11676: bookmarks: add support for `mirror` mode to `incoming`

2021-10-15 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 consistent. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11676 AFFECTED FILES mercurial/bookma

D11674: path: keep the path instance in the `pulloperation`

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will allow more pull code to use the path options. Ideally we would modify the peer API to keep the path instance. However that is much more churn that I

D11673: path: return path instance directly from get_pull_paths

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This means the caller has to do a bit more work, however it give access to the `path` instance and the information it contains. REPOSITORY rHG Mercurial BRA

D11672: path: unify path creation in `get_pull_paths`

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This remove a special case and will make it possible to return `path` instance directly. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https:

D11671: path: add a new argument to control path validation

2021-10-15 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY During pull, unvalidated path might be used, having the option to do so directly will allow use to simplify some code and unlock more `path` usage later in the