tests/test-fncache.out
author Will Maier <willmaier@ml1.net>
Thu, 04 Jun 2009 18:11:11 -0600
changeset 8721 2816239e0020
parent 8633 c31fe74a6633
child 9934 720f70b720d3
permissions -rw-r--r--
test-fncache: Use find instead of ls -R. Different platforms implement -R differently (and it produces unneccessarily verbose output in this case). find is just as good and more consistent. Unbreaks test on OpenBSD. Edited by pmezard: added 'sort' call
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7290
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     1
% init repo1
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     2
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     3
% add a; ci
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     4
adding a
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     5
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     6
% cat .hg/store/fncache
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     7
data/a.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     8
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
     9
% add a.i/b; ci
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    10
adding a.i/b
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    11
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    12
% cat .hg/store/fncache
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    13
data/a.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    14
data/a.i.hg/b.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    15
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    16
% add a.i.hg/c; ci
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    17
adding a.i.hg/c
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    18
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    19
% cat .hg/store/fncache
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    20
data/a.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    21
data/a.i.hg/b.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    22
data/a.i.hg.hg/c.i
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    23
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    24
% hg verify
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    25
checking changesets
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    26
checking manifests
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    27
crosschecking files in changesets and manifests
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    28
checking files
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    29
3 files, 3 changesets, 3 total revisions
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    30
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    31
% rm .hg/store/fncache
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    32
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    33
% hg verify
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    34
checking changesets
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    35
checking manifests
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    36
crosschecking files in changesets and manifests
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    37
checking files
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    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
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    41
3 files, 3 changesets, 3 total revisions
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    42
3 integrity errors encountered!
a3871028aacf add test-fncache
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff changeset
    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
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    53
.hg/requires
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    54
.hg/undo
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    55
.hg/undo.branch
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    56
.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
    57
% 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
    58
adding tst.d/Foo
8721
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    59
.hg
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    60
.hg/00changelog.i
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    61
.hg/dirstate
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    62
.hg/requires
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    63
.hg/store
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    64
.hg/store/00changelog.i
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    65
.hg/store/00manifest.i
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    66
.hg/store/data
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    67
.hg/store/data/tst.d.hg
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    68
.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
    69
.hg/store/undo
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    70
.hg/undo.branch
2816239e0020 test-fncache: Use find instead of ls -R.
Will Maier <willmaier@ml1.net>
parents: 8633
diff changeset
    71
.hg/undo.dirstate