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

Rémi Chaintron remi.chaintron at gmail.com
Sat Dec 24 13:34:04 EST 2016


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.david at ens-lyon.org> wrote:

>
>
> On 12/24/2016 05:36 PM, Remi Chaintron wrote:
> > # HG changeset patch
> > # User Remi Chaintron <remi at fb.com>
> > # Date 1482451718 18000
> > #      Thu Dec 22 19:08:38 2016 -0500
> > # Node ID c1bd9b7750cdfe1f2a1437e4ba0ed8f6e48b2dd1
> > # Parent  4f72f28e527c72cae072880b8fa1610c0289dded
> > documentation: better censor flag documentation.
> >
> > diff --git a/mercurial/help/internals/revlogs.txt
> b/mercurial/help/internals/revlogs.txt
> > --- a/mercurial/help/internals/revlogs.txt
> > +++ b/mercurial/help/internals/revlogs.txt
> > @@ -89,7 +89,7 @@
> >     Absolute offset of revision data from beginning of revlog.
> >  6-7 (2 bytes)
> >     Bit flags impacting revision behavior. The following bit offsets
> define:
> > -   0: 'censor' extension flag.
> > +   0: REVIDX_ISCENSORED indicates the revision has censored metadata.
>
>  From my understanding of censor, I would have expected something more
> like  "the revision content is censored". If I remember correctly, the
> censors flag means the revision content has been nuked, the metadata are
> more a secondary things that give a bit more details about that nuking.
>
> What do you think ?
>
> >  8-11 (4 bytes)
> >     Compressed length of revision data / chunk as stored in revlog.
> >  12-15 (4 bytes)
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
> >
>
> --
> Pierre-Yves David
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-- 
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20161224/6da38c6a/attachment.html>


More information about the Mercurial-devel mailing list