Re: [PATCH 3 of 3] revlog: give EXTSTORED flag value to narrowhg

2017-01-17 Thread Rémi Chaintron
Not a problem for lfs as far as I'm concerned. On Tue, 17 Jan 2017 at 12:34, Augie Fackler wrote: > On Tue, Jan 17, 2017 at 12:10:31PM -0800, Martin von Zweigbergk via > Mercurial-devel wrote: > > # HG changeset patch > > # User Martin von Zweigbergk > >

Re: [PATCH 1 of 5 v4] revlog: merge hash checking subfunctions

2016-11-24 Thread Rémi Chaintron
On Thu, 24 Nov 2016 at 16:30 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/23/2016 06:39 PM, Remi Chaintron wrote: > > # HG changeset patch > > # User Remi Chaintron > > # Date 1479916365 0 > > # Wed Nov 23 15:52:45 2016 + > > # Branch stable > > #

Re: [PATCH 1 of 5 v4] revlog: merge hash checking subfunctions

2016-11-28 Thread Rémi Chaintron
Updated in local commit, should I wait for a complete review before sending another patch? On Thu, 24 Nov 2016 at 16:41 Rémi Chaintron <remi.chaint...@gmail.com> wrote: > On Thu, 24 Nov 2016 at 16:30 Pierre-Yves David < > pierre-yves.da...@ens-lyon.org> wrote: > > &g

Re: [PATCH 4 of 6] changegroup3: enable on repo requirements

2016-11-16 Thread Rémi Chaintron
On 11/9/16, 5:15 PM, "Augie Fackler" wrote: On Thu, Oct 27, 2016 at 04:04:02PM +0100, Remi Chaintron wrote: > # HG changeset patch > # User Remi Chaintron > # Date 1477579974 -3600 > # Thu Oct 27 15:52:54 2016 +0100 > # Branch stable

Re: [PATCH 2 of 6] revlog: add flagprocessor

2016-11-16 Thread Rémi Chaintron
On 11/9/16, 5:17 PM, "Augie Fackler" wrote: On Thu, Oct 27, 2016 at 04:04:00PM +0100, Remi Chaintron wrote: > # HG changeset patch > # User Remi Chaintron > # Date 1477579974 -3600 > # Thu Oct 27 15:52:54 2016 +0100 > # Branch

Re: [PATCH 3 of 4 v5] revlog: REVIDX_ISSTOREDEXTERNALLY flag

2016-12-16 Thread Rémi Chaintron
My bad, this is an artifact from merging on some other work and isn't used in any capacity in the current design. Notes for removal! On Fri, 16 Dec 2016 at 20:47, Augie Fackler wrote: > On Wed, Dec 14, 2016 at 11:58:09AM +, Remi Chaintron wrote: > > # HG changeset patch > >

Re: [PATCH 2 of 5 v4] revlog: add flagprocessor

2016-12-12 Thread Rémi Chaintron
On Sat, 3 Dec 2016 at 02:49 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > On 11/29/2016 06:16 PM, Rémi Chaintron wrote: > > Thanks for the awesome review. > > > > > + > > > +def register(self, transformmap): > > &g

Re: [PATCH 4 of 5 v4] revlog: REVIDX_ISLARGEFILE flag

2016-11-29 Thread Rémi Chaintron
On Tue, 29 Nov 2016 at 06:59 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/23/2016 06:39 PM, Remi Chaintron wrote: > > # HG changeset patch > > # User Remi Chaintron > > # Date 1479922644 0 > > # Wed Nov 23 17:37:24 2016 + > > # Branch stable > > #

Re: [PATCH 2 of 5 v4] revlog: add flagprocessor

2016-11-29 Thread Rémi Chaintron
Thanks for the awesome review. I included the changes in my current version and will update the stack once I'm done with all required changes. The approach I'm currently following relies on getting rid of the flagprocessor object, instead relying on a single revlog.processflags() method and an

Re: [PATCH 5 of 5 v4] changegroup3: enable on 'lfs' repo requirements

2016-11-29 Thread Rémi Chaintron
On Tue, 29 Nov 2016 at 06:59 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > It seems like the commit message needs to be updated too. (Y) > > diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py > > --- a/mercurial/changegroup.py > > +++ b/mercurial/changegroup.py >

Re: [PATCH 3 of 4 flagprocessor v8] revlog: flag processor

2017-01-06 Thread Rémi Chaintron
On Thu, 5 Jan 2017 at 17:50 Remi Chaintron wrote: > # HG changeset patch > # User Remi Chaintron > # Date 1483636648 0 > # Thu Jan 05 17:17:28 2017 + > # Node ID 8701df1c04340e9951481dc4c366ba550b4e790f > # Parent a93b1ff78332f4f78e77ec9aaa2c63f7f975399c >

Re: [PATCH 3 of 5 flagprocessor v6] revlog: pass revlog flags to addrevision

2016-12-30 Thread Rémi Chaintron
You're right, this is a mistake on my part. The reasoning behind dropping this code is that in my current implementation, processflags() handles checking whether the flags are known (both for revision() and _addrevision()) so I moved this snippet to processflags(). Still makes sense to not spread

Re: [PATCH 2 of 5 flagprocessor v6] revlog: add 'raw' argument to revision and _addrevision

2016-12-30 Thread Rémi Chaintron
Long story short, we need to pass the raw argument to processflags() so that it can determine which transform use. This allows to differentiate the regular use case (transform operations such as reading from a remote store in lfs's case) from changegroup generation and debug commands. The only way

Re: [PATCH 2 of 5 flagprocessor v6] revlog: add 'raw' argument to revision and _addrevision

2016-12-30 Thread Rémi Chaintron
Following discussion with marmoute on IRC, I'll drop the rawrevision() method for now. On Fri, 30 Dec 2016 at 11:12 Augie Fackler <r...@durin42.com> wrote: > > > On Dec 30, 2016, at 10:46 AM, Rémi Chaintron <remi.chaint...@gmail.com> > wrote: > > > > The a

Re: [PATCH 3 of 5 flagprocessor v6] revlog: pass revlog flags to addrevision

2016-12-31 Thread Rémi Chaintron
I'm convinced already :) On Sat, 31 Dec 2016 at 06:46, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 12/30/2016 05:38 PM, Rémi Chaintron wrote: > > You're right, this is a mistake on my part. The reasoning behind > > dropping this code is that i

Re: [PATCH 4 of 5 flagprocessor v6] revlog: processflags()

2016-12-24 Thread Rémi Chaintron
Forgot the commit message in this one, is there a way I can update this single patch with the commit message? Commit message: revlog: processflags() Add the ability for revlog objects to process revision flags and apply registered transforms on read/write operations. This patch

Re: [PATCH 1 of 5 flagprocessor v6] documentation: better censor flag documentation

2016-12-24 Thread Rémi Chaintron
Sounds good to me, I'm happy to follow the comment in revlog.py On Sat, 24 Dec 2016 at 13:31 Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 12/24/2016 05:36 PM, Remi Chaintron wrote: > > # HG changeset patch > > # User Remi Chaintron > > # Date 1482451718 18000