D11228: tests: make test-serve works on system that allow user to bind low port

2021-07-29 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY It is possible to encounter linux system configured in a way that allow port < 1024 to be bound by any users. So we update a test to focus more on the actual

D11229: rhg: Add build and config instructions to the README file

2021-07-29 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This adds documentation explaining how to compile, configure, and use rhg as well as how the fallback mechanism works. REPOSITORY rHG Mercurial BRANCH s

D11230: rhg: Propagate permission errors when finding a repository

2021-07-29 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The Rust standard library has a `Path::is_dir` method that returns false for any I/O error (such as a permission error), not just "No such file or directory

[Bug 6557] New: Malpensa Airport ICAO Code

2021-07-29 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6557 Bug ID: 6557 Summary: Malpensa Airport ICAO Code Product: Mercurial project Version: unspecified Hardware: PC OS: Windows Status: UNCONFIRMED Severity: fea

[Bug 6558] New: more test-nointerrupt.t trouble

2021-07-29 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6558 Bug ID: 6558 Summary: more test-nointerrupt.t trouble Product: Mercurial Version: stable branch Hardware: PC OS: Linux Status: UNCONFIRMED Severity: bug

Failed pipeline for branch/stable | mercurial-devel | 1d8c1103

2021-07-29 Thread Heptapod
Pipeline #25219 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: 1d8c1103 ( https://foss.heptapod.net/octobus/mercurial-devel/-/commit/1d8c1103

D11231: tests: add explicit coverage for update_hash_refs from rewriteutil

2021-07-29 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I couldn't find any evidence this is covered by tests in core (but there's a good chance I missed it). We've seen a cute bug in that code, but first let's just

D11232: rewriteutil: fix crash when a rewritten message references f{6, 64}

2021-07-29 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Without this, the rewriteutil logic thinks it's found a reference to the wdir pseudo-revision, and then tries to look it up and rewrite it. Stop it from doing

D11234: git: restore basic functionality (issue6545)

2021-07-29 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY It looks like a big refactor happened on dirstate, and the git extension was just ignored. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https

D11233: dirstate: fix typo in docstring

2021-07-29 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Spotted while repairing git extension tests. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D11233 AFFECTED FILES

Failed pipeline for branch/stable | mercurial-devel | 1529ac79

2021-07-29 Thread Heptapod
Pipeline #25302 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: 1529ac79 ( https://foss.heptapod.net/octobus/mercurial-devel/-/commit/1529ac79

D11235: typing: add several assertions to dirstatemap to appease pytype

2021-07-29 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I think it's been mentioned in IRC that these can't be None in this case. This fixes: File "/mnt/c/Users/Matt/hg/mercurial/dirstatemap.py", line 213