2017-12-15 10:07:27 +03:00
|
|
|
$ cat >> $HGRCPATH << EOF
|
|
|
|
> [extensions]
|
|
|
|
> drawdag=$RUNTESTDIR/drawdag.py
|
2018-01-09 14:06:09 +03:00
|
|
|
> fastverify=
|
2017-12-15 10:07:27 +03:00
|
|
|
> EOF
|
|
|
|
|
|
|
|
Turn manifest verification on and off:
|
|
|
|
$ hg init repo1
|
|
|
|
$ cd repo1
|
|
|
|
$ hg debugdrawdag <<'EOS'
|
|
|
|
> b c
|
|
|
|
> |/
|
|
|
|
> a
|
|
|
|
> EOS
|
2017-12-15 22:16:40 +03:00
|
|
|
$ hg verify --config verify.skipmanifests=0
|
2017-12-15 10:07:27 +03:00
|
|
|
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
|