Mercurial > hg
view mercurial/__init__.py @ 24956:48583a1e44f3
treemanifest: set requires at repo creation time, ignore config after
The very next changeset will start writing one revlog per directory
when tree manifests are enabled. That is backwards incompatible, so it
requires .hg/requires to be updated. Just like with generaldelta, we
want to update .hg/requires only when the repo is created. Updating
..hg/requires is bad for repos on shared disk. Instead, those who do
want to upgrade a repo to using treemanifest (or manifestv2, etc) can
run
hg clone --config experimental.treemanifest repo clone
which will create a new repo with the requirement set. Unlike the case
of e.g. generaldelta, it will not rewrite the changesets, since tree
manifests hash differently.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 05 May 2015 08:40:59 -0700 |
parents | 9117c6561b0b |
children | 4374d819ccd5 |