Mercurial > public > mercurial-scm > hg-stable
diff tests/test-upgrade-repo.t @ 35345:c3e4f196b6e0
debugformat: add a 'debugformat' command
The command displays basic data about all format variants registered for repo
upgrades. This gives a quick way to peek into a repository format.
The 'fm.write()' calls are very independent because more data will be added in
later changeset. Having more separate call make the later patch clearer.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 07 Dec 2017 16:19:46 +0100 |
parents | 67b7e39b441b |
children | cfb403b92f43 |
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t Thu Dec 07 15:55:59 2017 +0100 +++ b/tests/test-upgrade-repo.t Thu Dec 07 16:19:46 2017 +0100 @@ -54,6 +54,12 @@ $ hg init empty $ cd empty + $ hg debugformat + format-variant repo + fncache: yes + dotencode: yes + generaldelta: yes + plain-cl-delta: yes $ hg debugupgraderepo (no feature deficiencies found in existing repository) performing an upgrade with "--run" will make the following changes: @@ -101,6 +107,12 @@ > store > EOF + $ hg debugformat + format-variant repo + fncache: no + dotencode: no + generaldelta: no + plain-cl-delta: yes $ hg debugupgraderepo repository lacks features recommended by current config options: