##// END OF EJS Templates
test-narrow-clone-stream: include no usefncache case which is broken...
Yuya Nishihara -
r40619:186921bc default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 #testcases tree flat
1 #testcases tree flat-fncache flat-nofncache
2 2
3 3 Tests narrow stream clones
4 4
@@ -11,6 +11,13 b' Tests narrow stream clones'
11 11 > EOF
12 12 #endif
13 13
14 #if flat-nofncache
15 $ cat << EOF >> $HGRCPATH
16 > [format]
17 > usefncache = 0
18 > EOF
19 #endif
20
14 21 Server setup
15 22
16 23 $ hg init master
@@ -54,8 +61,8 b' Cloning a specific file when stream clon'
54 61 Making sure we have the correct set of requirements
55 62
56 63 $ cat .hg/requires
57 dotencode
58 fncache
64 dotencode (tree flat-fncache !)
65 fncache (tree flat-fncache !)
59 66 generaldelta
60 67 narrowhg-experimental
61 68 revlogv1
@@ -67,8 +74,8 b' Making sure store has the required files'
67 74 $ ls .hg/store/
68 75 00changelog.i
69 76 00manifest.i
70 data
71 fncache
77 data (tree flat-fncache !)
78 fncache (tree flat-fncache !)
72 79 meta (tree !)
73 80 narrowspec
74 81 undo
@@ -77,6 +84,22 b' Making sure store has the required files'
77 84
78 85 Checking that repository has all the required data and not broken
79 86
87 #if flat-nofncache
88 $ hg verify
89 checking changesets
90 checking manifests
91 crosschecking files in changesets and manifests
92 checking files
93 warning: revlog 'data/dir/src/F10.i' not in fncache!
94 9: empty or missing dir/src/F10
95 dir/src/F10@9: manifest refers to unknown revision 419ee72d626b
96 checked 40 changesets with 0 changes to 1 files
97 1 warnings encountered!
98 hint: run "hg debugrebuildfncache" to recover from corrupt fncache
99 2 integrity errors encountered!
100 (first damaged changeset appears to be 9)
101 [1]
102 #else
80 103 $ hg verify
81 104 checking changesets
82 105 checking manifests
@@ -84,3 +107,4 b' Checking that repository has all the req'
84 107 crosschecking files in changesets and manifests
85 108 checking files
86 109 checked 40 changesets with 1 changes to 1 files
110 #endif
General Comments 0
You need to be logged in to leave comments. Login now