sapling/tests/test-verify-skipmanifests.t
Durham Goode 1bf9700af1 treemanifest: disable manifest verify when treemanifest is on
Summary:
We had this disabled in a config we ship in rpms, but if we want the
tests to work in treeonly mode we want this disabled in all tree cases.

Reviewed By: xavierd

Differential Revision: D15296199

fbshipit-source-id: 0f9751583eefa10c275bd499bb5998adfbe644a4
2019-05-22 08:37:11 -07:00

21 lines
548 B
Perl

Turn manifest verification on and off:
$ hg init repo1
$ cd repo1
$ hg debugdrawdag <<'EOS'
> b c
> |/
> a
> EOS
$ hg verify --config verify.skipmanifests=0
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
3 files, 3 changesets, 3 total revisions
$ echo "[verify]" >> $HGRCPATH
$ echo "skipmanifests=1" >> $HGRCPATH
$ hg verify
checking changesets
verify.skipmanifests is enabled; skipping verification of manifests
0 files, 3 changesets, 0 total revisions