D11686: dirstate: add a concept of "fallback" flags to dirstate item

2021-10-18 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The concept is defined and "used" by the flag code, but it is neither persisted nor set anywhere yet. We currently focus on defining the semantic of the

D11687: dirstate: make DirstateItem constructor accept fallback value

2021-10-18 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This could arguably goes in the previous changeset, but I wanted to keep that previous changeset small to focus more on the user code and the documentation.

D11688: dirstate-v2: preserve the fallback values on disk

2021-10-18 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY When the fallback values are set, they are now read and written to disk. See format documentation for details. REPOSITORY rHG Mercurial BRANCH default

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

2021-10-18 Thread Heptapod
Pipeline #27953 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: a9c093a7 (

6.0 Sprint?

2021-10-18 Thread Martin von Zweigbergk via Mercurial-devel
Hi, We haven't had a sprint in a long time. Do we want one before the end of the year? Is anyone willing to organize it? I think Anton said he might know someone who would be interested. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

[Bug 6606] New: "chg init foo" checks .hg/requires file, but "hg init foo" does not

2021-10-18 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6606 Bug ID: 6606 Summary: "chg init foo" checks .hg/requires file, but "hg init foo" does not Product: Mercurial Version: 5.9.1 Hardware: PC OS: Linux

Re: Call for comments on new dirstate format contents

2021-10-18 Thread Augie Fackler
> On Oct 18, 2021, at 4:16 AM, Pierre-Yves David > wrote: > > > On 10/15/21 2:22 PM, Pierre-Yves David wrote: >> >> On 10/13/21 10:57 AM, Simon Sapin wrote: >>> Please let us know of any question or comment! >> >> >> I remember discussion about storing WC exec-bit and symlink status to

mercurial@48232: 45 new changesets

2021-10-18 Thread Mercurial Commits
45 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/77fc340acad7 changeset: 48188:77fc340acad7 user:Simon Sapin date:Mon Oct 11 18:23:17 2021 +0200 summary: dirstate-v2: Document flags/mode/size/mtime fields of tree nodes

D11685: rewrite: fix issue6599

2021-10-18 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Explanation inside. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D11685 AFFECTED FILES

[Bug 6605] New: Unable to clone PyPy using a clonebundle

2021-10-18 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6605 Bug ID: 6605 Summary: Unable to clone PyPy using a clonebundle Product: Mercurial Version: 5.9 Hardware: PC OS: All Status: UNCONFIRMED Severity: bug

D11684: dirstate: Store mtimes with nanosecond precision in memory

2021-10-18 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Keep integer seconds since the Unix epoch, together with integer nanoseconds in the `0 <= n < 1e9` range. For now, nanoseconds are still always zero.

mercurial-devel | Failed pipeline for branch/default | 15df2a6e

2021-10-18 Thread Heptapod
Pipeline #27933 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: 15df2a6e (

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

2021-10-18 Thread Heptapod
Pipeline #27931 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: f0b20586 (

mercurial-devel | Failed pipeline for branch/default | 3a742b71

2021-10-18 Thread Heptapod
Pipeline #27918 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: 3a742b71 (

D11683: fix: appease pyflakes and make unused variables more obvious

2021-10-18 Thread Raphaël Gomès
Alphare created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY pyflakes is complaining that `baserevs` is redefined by the list comprehension, and while this lint can be valuable, it's not actually a problem here.

Re: Call for comments on new dirstate format contents

2021-10-18 Thread Pierre-Yves David
On 10/15/21 2:22 PM, Pierre-Yves David wrote: On 10/13/21 10:57 AM, Simon Sapin wrote: Please let us know of any question or comment! I remember discussion about storing WC exec-bit and symlink status to help system without support for thoses (Windows we are looking at you). That is

D11681: dirstate-v2: adds a flag to mark a file as modified

2021-10-18 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Right now, a files with a file system state that requires a lookup (same size, different mtime) will requires a lookup. If the result of that lookup is a

D11682: dirstate-v2: adds two flag to track the presence of some unrecorded files

2021-10-18 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Right now, we don't record ignored or unknown files in the dirstate. However the structure would allow it. So we introduce two flags that can be used to