Re: New revlog format, plan page

2021-01-06 Thread Joerg Sonnenberger
On Thu, Jan 07, 2021 at 01:05:34AM +, Johannes Totz wrote: > Have we ever addressed the file duplication on hg-mv? .hg/store/data/ will > end up with lots of duplicated data. That has always been my biggest gripe. That's the unified revlog issue. Joerg

Re: New revlog format, plan page

2021-01-06 Thread Johannes Totz
On 05/01/2021 15:38, Raphaël Gomès wrote: Hi all, During the last (virtual) sprint, a lot of us spoke about the need for a format change of the revlog to overcome some of its limitations. I've opened a very much draft plan page [1] to try to list all the things we want to do in that version

D9687: contrib: py3 compat for perfnodemap

2021-01-06 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/D9687 AFFECTED FILES contrib/perf.py CHANGE DETAILS diff --git

D9684: copies-rust: move CPU-heavy Rust processing into a child thread

2021-01-06 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY … that runs in parallel with the parent thread fetching data. This can be disabled through a new config. CLI example: hg

D9685: copies-rust: introduce PyBytesWithData to reduce GIL requirement

2021-01-06 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY See explanations in new doc-comments. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9685 AFFECTED FILES

D9686: copies-rust: send PyBytes values back be dropped ino the parent thread

2021-01-06 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY … instead of acquiring the GIL in the Rust thread in the Drop impl This commit is based on the premise that crossbeam-channel with unbounded send and

D9683: copies-rust: split up combine_changeset_copies function into a struct

2021-01-06 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY … such that each iteration of its former loop is now a method call, with the caller driving the loop. This entirely removes the need for the

D9682: copies-rust: extract generic map merge logic from merge_copies_dict

2021-01-06 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This deduplicates the copy-tracing-specific logic REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9682

D9681: localrepo: move storevfs calculation out of if statement

2021-01-06 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY In next patch, we will need this variable in else statement too. So, let's take it out. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D9680: sharesafe: add functionality to automatically downgrade shares

2021-01-06 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Reasoning is same as previous patch which adds automatic upgrade support. Downgrade is required as if automatic upgrade is enabled, all shares upgrade and

D9679: sharesafe: introduce functionality to automatically upgrade shares

2021-01-06 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY In past few months, we have developed a `share-safe` mode for sharing repository in which share source requirements and config values are shared with the