Mercurial > hg
annotate tests/test-fncache.out @ 7429:dbc40381620e
tests: Skip tests if they will fail because of outer repo
For different reasons these tests will fail if run in a tmpdir which is in a hg
repo.
The following three tests assumes no .hg in path dirs - I don't know how to
work around that:
* test-dispatch explicitly tests for no repo and expects "abort: There is no
Mercurial repository here (.hg not found)!"
* test-extension expects parentui to be None when not cd'ed to a repo dir
* test-globalopts tests that implicit -R works correctly - that could perhaps be
done from another repo instead of assuming no repo
The following two might be worth investigating further:
* test-convert-svn-sink fails for unknown reasons, starting with "abort:
unresolved merge conflicts (see hg resolve)"
* test-glog gets strange failures when testing "from outer space"
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 27 Nov 2008 00:57:31 +0100 |
parents | a3871028aacf |
children | 794def2fe232 |
rev | line source |
---|---|
7290 | 1 % init repo1 |
2 | |
3 % add a; ci | |
4 adding a | |
5 | |
6 % cat .hg/store/fncache | |
7 data/a.i | |
8 | |
9 % add a.i/b; ci | |
10 adding a.i/b | |
11 | |
12 % cat .hg/store/fncache | |
13 data/a.i | |
14 data/a.i.hg/b.i | |
15 | |
16 % add a.i.hg/c; ci | |
17 adding a.i.hg/c | |
18 | |
19 % cat .hg/store/fncache | |
20 data/a.i | |
21 data/a.i.hg/b.i | |
22 data/a.i.hg.hg/c.i | |
23 | |
24 % hg verify | |
25 checking changesets | |
26 checking manifests | |
27 crosschecking files in changesets and manifests | |
28 checking files | |
29 3 files, 3 changesets, 3 total revisions | |
30 | |
31 % rm .hg/store/fncache | |
32 | |
33 % hg verify | |
34 checking changesets | |
35 checking manifests | |
36 crosschecking files in changesets and manifests | |
37 checking files | |
38 data/a.i@0: missing revlog! | |
39 data/a.i.hg.hg/c.i@0: missing revlog! | |
40 data/a.i.hg/b.i@0: missing revlog! | |
41 3 files, 3 changesets, 3 total revisions | |
42 3 integrity errors encountered! | |
43 (first damaged changeset appears to be 0) |