On 06/05/2017 07:37 PM, Augie Fackler wrote:
On Sun, Jun 04, 2017 at 04:59:32PM -0700, Jun Wu wrote:
# HG changeset patch
# User Jun Wu <qu...@fb.com>
# Date 1496615642 25200
#      Sun Jun 04 15:34:02 2017 -0700
# Node ID edae716e97c441aff52688f3be4750b34b199901
# Parent  160567b62f74e8e02fa2e9a7b2cb4076b105e528
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r edae716e97c4
obsstore: make markerindex support serialization

This allows us to load and save index state to disk.

Note this is the first user of .hg/store/cache. The indexes are purely
depending on .hg/store/obsstore and .hg/store/cache looks reasonable - if
store is shared, the indexes won't need to be duplicated.

I'm kind of sort of -0 on adding another cache dir, but I don't feel
strongly enough to want a change. Hold for opinions from other
reviewers though.

All other caches depending on store content still lives on the cache directory. So I don't see a reason to make an exception here.

This patch in my other series makes available the proper vfs to access the 'cache/' to the obsstore logic.

Cheers,

--
Pierre-Yves David
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to