[PATCH rfc] manifest: write a more efficient version of lazymanifest, in pure python

Yuya Nishihara yuya at tcha.org
Sat Aug 27 10:21:11 EDT 2016


On Fri, 26 Aug 2016 16:57:25 -0700, Sean Farley wrote:
> Matt Mackall <mpm at selenic.com> writes:
> > On Wed, 2016-08-24 at 23:55 -0400, Augie Fackler wrote:
> >> > On Aug 20, 2016, at 5:02 PM, Maciej Fijalkowski <fijall at gmail.com> wrote:
> >> > * current version does not support 21 or 22 long hashes, why are they
> >> > necessary?
> >> There are a handful of (weird) places that do something like poke a “+” on the
> >> end of a hash in the manifest to mark it as dirty, but that is never saved to
> >> disk.
> >
> > FWIW, we could probably replace the "+" hack with an "C"*40 hack. The SHA1 space
> > is big enough that we can punch some other small holes in it in addition to the
> > null hash.
> 
> I thought Yuya was working on adding "F"*40 (unless I missed something
> special about "C"?)?

Yes, "F"*40 for wdir revision. I have experimental patches. Is that related to
the "+" hack in manifest?


More information about the Mercurial-devel mailing list