sapling/tests/test-fb-hgext-fastverify.t
Kostia Balytskyi b27a46c987 fb-hgext: fix copied fb-hgext tests
Summary:
This is a big bulk of generally almost-obvious fixes to the moved tests. Mostly
these fixes have to do with correct importing of the actual extensions.

Depends on D6675329

Test Plan:
- ./run-tests.py fails less after this commit
- see further commits for more test fixes

Reviewers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6675344
2018-01-09 03:06:09 -08:00

27 lines
653 B
Perl

$ cat >> $HGRCPATH << EOF
> [extensions]
> drawdag=$RUNTESTDIR/drawdag.py
> fastverify=
> EOF
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