<p dir="ltr">I think it will be optional forever, because it will probably generally be faster with flat manifests for small and medium-sized projects. Also note that the format is hidden behind an experimental config option, so we can still modify the format after this commit until we move the format out of experimental.</p>
<p dir="ltr">I'm still curious to hear what you had in mind regarding changes to the format.</p>
<br><div class="gmail_quote">On Thu, May 14, 2015, 22:52 Adrian Buehlmann <<a href="mailto:adrian@cadifra.com">adrian@cadifra.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2015-05-15 00:49, Martin von Zweigbergk wrote:<br>
> # HG changeset patch<br>
> # User Martin von Zweigbergk <<a href="mailto:martinvonz@google.com" target="_blank">martinvonz@google.com</a>><br>
> # Date 1428992462 25200<br>
> #      Mon Apr 13 23:21:02 2015 -0700<br>
> # Node ID 01586fff55933fd0eb58e61a123d4c7b03258bd3<br>
> # Parent  d1bd0fd07ee6adf4ab3be2b0a0a7c0df54d55abf<br>
> treemanifest: store submanifest revlog per directory<br>
><br>
> With this change, when tree manifests are enabled (in .hg/requires),<br>
> commits will be written with one manifest revlog per directory. The<br>
> manifest revlogs are stored in<br>
> .hg/store/meta/$dir/00manifest.[id].<br>
<br>
If this new treemanifest format gets popular in the future, am I right<br>
in assuming that this is intended as the default format in the future?<br>
<br>
Or is it intended to remain an optional format forever?<br>
<br>
I'm asking this because I think it might be worth investing a bit more<br>
thinking into the layout on disk, especially if the plan is to use<br>
treemanifest per default in the future.<br>
<br>
As soon as this new format is engraved in stone, mercurial will<br>
obviously have to live with it until its death.<br>
<br>
Note: I'm the author of the current fncache format. And I know what it<br>
means if one has to live with decisions made. For example, when I<br>
created the freaky encoding in store._hashencode, I didn't imagine back<br>
then that someone would ever want to translate that complicated piece<br>
into C. I'm not saying that I would want to (ab)use your layout change<br>
to revisit that decision. I'm just saying that I've 'been there'.<br>
<br>
</blockquote></div>