##// 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 Tests narrow stream clones
3 Tests narrow stream clones
4
4
@@ -11,6 +11,13 b' Tests narrow stream clones'
11 > EOF
11 > EOF
12 #endif
12 #endif
13
13
14 #if flat-nofncache
15 $ cat << EOF >> $HGRCPATH
16 > [format]
17 > usefncache = 0
18 > EOF
19 #endif
20
14 Server setup
21 Server setup
15
22
16 $ hg init master
23 $ hg init master
@@ -54,8 +61,8 b' Cloning a specific file when stream clon'
54 Making sure we have the correct set of requirements
61 Making sure we have the correct set of requirements
55
62
56 $ cat .hg/requires
63 $ cat .hg/requires
57 dotencode
64 dotencode (tree flat-fncache !)
58 fncache
65 fncache (tree flat-fncache !)
59 generaldelta
66 generaldelta
60 narrowhg-experimental
67 narrowhg-experimental
61 revlogv1
68 revlogv1
@@ -67,8 +74,8 b' Making sure store has the required files'
67 $ ls .hg/store/
74 $ ls .hg/store/
68 00changelog.i
75 00changelog.i
69 00manifest.i
76 00manifest.i
70 data
77 data (tree flat-fncache !)
71 fncache
78 fncache (tree flat-fncache !)
72 meta (tree !)
79 meta (tree !)
73 narrowspec
80 narrowspec
74 undo
81 undo
@@ -77,6 +84,22 b' Making sure store has the required files'
77
84
78 Checking that repository has all the required data and not broken
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 $ hg verify
103 $ hg verify
81 checking changesets
104 checking changesets
82 checking manifests
105 checking manifests
@@ -84,3 +107,4 b' Checking that repository has all the req'
84 crosschecking files in changesets and manifests
107 crosschecking files in changesets and manifests
85 checking files
108 checking files
86 checked 40 changesets with 1 changes to 1 files
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