Skip to content
Snippets Groups Projects
Commit 1766130f authored by Simon Sapin's avatar Simon Sapin
Browse files

dirstate-v2: Change the on-disk format when the requirement is enabled

For now, the format is the same except with an additional marker at the start.

This marker is redundant: for existing repositories it is `.hg/requires` that
determines which format to use. For new repositories, it is the new
`format.exp-dirstate-v2` config. There is no upgrade or downgrade so far.

Most of the changes are about plumbing a boolean through layers of APIs to
indicate which format should be used.

Differential Revision: https://phab.mercurial-scm.org/D10719
parent 40b51c28
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment