mercurial-devel | Pipeline #17153 has failed for branch/default | 896da244

2021-01-28 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: 896da244 (

D9906: rust: Fold find_root and check_requirements into Repo::find

2021-01-28 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/D9906 AFFECTED FILES rust/hg-core/src/config/config.rs

D9905: rhg: Simplify CommandError based on its use

2021-01-28 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/D9905 AFFECTED FILES rust/hg-core/src/utils.rs rust/rhg/src/commands/cat.rs

D9904: rust: replace ToString impls with Display

2021-01-28 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY ToString is automatically implementing for everything that implements Display, and Display can avoid allocating intermediate strings. REPOSITORY rHG

[Bug 6476] New: "bytes length not a multiple of item size" during `hg in`

2021-01-28 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6476 Bug ID: 6476 Summary: "bytes length not a multiple of item size" during `hg in` Product: Mercurial Version: 5.6.1 Hardware: PC OS: Windows

D9902: revlog: use a less probable revlog version for backwards compatibility

2021-01-28 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This allows us to define a usable v2. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9902 AFFECTED FILES

D9903: revlog: prepare pure parser for being overloaded

2021-01-28 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The current class uses module-level variables which don't allow for reusing the current logic for a slightly different revlog version. REPOSITORY rHG

D9901: persistent-nodemap: Fix Rust declarations for Revlog_CAPI signatures

2021-01-28 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Use Rust’s `libc::ssize_t` as the closest match to C’s `Py_ssize_t`. See details in test comment. Going forward we should find a way to have such Rust

D9900: persistent-nodemap: add test case reproducing a Rust panic

2021-01-28 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The next commit fixes the bug. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D9900 AFFECTED FILES

D9899: copies: fix an incorrect comment in graftcopies() from recent D9802

2021-01-28 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY I don't think the bit about creating a merge in the filelog was correct. Or at least I couldn't find a case where it happened. REPOSITORY rHG Mercurial