Mercurial > hg
annotate tests/test-fncache.out @ 11488:f786fc4b8764 stable 1.6
log: follow filenames through renames (issue647)
In commands.log a displayer was initialized from
cmdutil.show_changeset() with the initial matchfn (which designates
the specified files which only is correct in the highest revision in
the range). prep() is handed the correct list of files, but
displayer.show() didn't use that list but keept using the original
matchfn.
The matchfn argument to cmdutil.show_changeset() wasn't specified in
other places and is only used in .show(), so now we give the matchfn
as an optional parameter to .show().
We do however still have to detect --patch and --stat from opts in
show_changeset() and let it imply a matchall, but that can now be
overruled with the new .show() matchfn parameter.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 29 Jun 2010 12:12:34 +0200 |
parents | a685011ed38e |
children |
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! | |
8531
810387f59696
filelog encoding: move the encoding/decoding into store
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7833
diff
changeset
|
39 data/a.i.hg/c.i@2: missing revlog! |
810387f59696
filelog encoding: move the encoding/decoding into store
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
7833
diff
changeset
|
40 data/a.i/b.i@1: missing revlog! |
7290 | 41 3 files, 3 changesets, 3 total revisions |
42 3 integrity errors encountered! | |
43 (first damaged changeset appears to be 0) | |
8633
c31fe74a6633
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8531
diff
changeset
|
44 % non store repo |
c31fe74a6633
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8531
diff
changeset
|
45 adding tst.d/foo |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
46 .hg |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
47 .hg/00changelog.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
48 .hg/00manifest.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
49 .hg/data |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
50 .hg/data/tst.d.hg |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
51 .hg/data/tst.d.hg/foo.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
52 .hg/dirstate |
9934
720f70b720d3
commit: save commit message so it's not destroyed by rollback.
Greg Ward <greg-hg@gerg.ca>
parents:
8721
diff
changeset
|
53 .hg/last-message.txt |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
54 .hg/requires |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
55 .hg/undo |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
56 .hg/undo.branch |
10881
a685011ed38e
localrepo: add desc parameter to transaction
Steve Borho <steve@borho.org>
parents:
9934
diff
changeset
|
57 .hg/undo.desc |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
58 .hg/undo.dirstate |
8633
c31fe74a6633
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8531
diff
changeset
|
59 % non fncache repo |
c31fe74a6633
store encoding: .i/.d encoding for non-store repo (broken by 810387f59696)
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
8531
diff
changeset
|
60 adding tst.d/Foo |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
61 .hg |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
62 .hg/00changelog.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
63 .hg/dirstate |
9934
720f70b720d3
commit: save commit message so it's not destroyed by rollback.
Greg Ward <greg-hg@gerg.ca>
parents:
8721
diff
changeset
|
64 .hg/last-message.txt |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
65 .hg/requires |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
66 .hg/store |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
67 .hg/store/00changelog.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
68 .hg/store/00manifest.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
69 .hg/store/data |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
70 .hg/store/data/tst.d.hg |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
71 .hg/store/data/tst.d.hg/_foo.i |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
72 .hg/store/undo |
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
73 .hg/undo.branch |
10881
a685011ed38e
localrepo: add desc parameter to transaction
Steve Borho <steve@borho.org>
parents:
9934
diff
changeset
|
74 .hg/undo.desc |
8721
2816239e0020
test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents:
8633
diff
changeset
|
75 .hg/undo.dirstate |