##// END OF EJS Templates
tests: conditionalize test output for simple store...
Gregory Szorc -
r37365:e82a59bf default
parent child Browse files
Show More
@@ -94,7 +94,18 b' No update, with debug option:'
94 linking: 6
94 linking: 6
95 linking: 7
95 linking: 7
96 linking: 8
96 linking: 8
97 linked 8 files
97 linked 8 files (reporevlogstore !)
98 linking: 9 (reposimplestore !)
99 linking: 10 (reposimplestore !)
100 linking: 11 (reposimplestore !)
101 linking: 12 (reposimplestore !)
102 linking: 13 (reposimplestore !)
103 linking: 14 (reposimplestore !)
104 linking: 15 (reposimplestore !)
105 linking: 16 (reposimplestore !)
106 linking: 17 (reposimplestore !)
107 linking: 18 (reposimplestore !)
108 linked 18 files (reposimplestore !)
98 #else
109 #else
99 $ hg --debug clone -U . ../c --config progress.debug=true
110 $ hg --debug clone -U . ../c --config progress.debug=true
100 linking: 1
111 linking: 1
@@ -105,7 +116,18 b' No update, with debug option:'
105 copying: 6
116 copying: 6
106 copying: 7
117 copying: 7
107 copying: 8
118 copying: 8
108 copied 8 files
119 copied 8 files (reporevlogstore !)
120 copying: 9 (reposimplestore !)
121 copying: 10 (reposimplestore !)
122 copying: 11 (reposimplestore !)
123 copying: 12 (reposimplestore !)
124 copying: 13 (reposimplestore !)
125 copying: 14 (reposimplestore !)
126 copying: 15 (reposimplestore !)
127 copying: 16 (reposimplestore !)
128 copying: 17 (reposimplestore !)
129 copying: 18 (reposimplestore !)
130 copied 18 files (reposimplestore !)
109 #endif
131 #endif
110 $ cd ../c
132 $ cd ../c
111
133
@@ -169,7 +169,12 b' init broken repository'
169
169
170 break it
170 break it
171
171
172 #if reporevlogstore
172 $ rm .hg/store/data/b.*
173 $ rm .hg/store/data/b.*
174 #endif
175 #if reposimplestore
176 $ rm .hg/store/data/b/*
177 #endif
173 $ cd ..
178 $ cd ..
174 $ hg --config convert.hg.ignoreerrors=True convert broken fixed
179 $ hg --config convert.hg.ignoreerrors=True convert broken fixed
175 initializing destination fixed repository
180 initializing destination fixed repository
@@ -127,8 +127,12 b' Force deletion of local changes'
127 The following changeset(s) or their ancestors have local changes not on the remote:
127 The following changeset(s) or their ancestors have local changes not on the remote:
128 * (glob)
128 * (glob)
129 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
129 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
130 deleting data/d0/f.i
130 deleting data/d0/f.i (reporevlogstore !)
131 deleting data/d0/f/362fef284ce2ca02aecc8de6d5e8a1c3af0556fe (reposimplestore !)
132 deleting data/d0/f/4374b5650fc5ae54ac857c0f0381971fdde376f7 (reposimplestore !)
133 deleting data/d0/f/index (reposimplestore !)
131 deleting meta/d0/00manifest.i (tree !)
134 deleting meta/d0/00manifest.i (tree !)
135
132 $ hg log -T "{node|short}: {desc} {outsidenarrow}\n"
136 $ hg log -T "{node|short}: {desc} {outsidenarrow}\n"
133 *: local change to d3 (glob)
137 *: local change to d3 (glob)
134 *: add d10/f outsidenarrow (glob)
138 *: add d10/f outsidenarrow (glob)
@@ -154,8 +158,12 b' Pruned commits affecting removed paths s'
154 searching for changes
158 searching for changes
155 looking for local changes to affected paths
159 looking for local changes to affected paths
156 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
160 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
157 deleting data/d0/f.i
161 deleting data/d0/f.i (reporevlogstore !)
162 deleting data/d0/f/362fef284ce2ca02aecc8de6d5e8a1c3af0556fe (reposimplestore !)
163 deleting data/d0/f/4374b5650fc5ae54ac857c0f0381971fdde376f7 (reposimplestore !)
164 deleting data/d0/f/index (reposimplestore !)
158 deleting meta/d0/00manifest.i (tree !)
165 deleting meta/d0/00manifest.i (tree !)
166
159 Updates off of stripped commit if necessary
167 Updates off of stripped commit if necessary
160 $ hg co -r 'desc("local change to d3")' -q
168 $ hg co -r 'desc("local change to d3")' -q
161 $ echo local change >> d6/f
169 $ echo local change >> d6/f
@@ -169,7 +177,10 b' Updates off of stripped commit if necess'
169 * (glob)
177 * (glob)
170 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
178 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
171 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
179 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
172 deleting data/d3/f.i
180 deleting data/d3/f.i (reporevlogstore !)
181 deleting data/d3/f/2661d26c649684b482d10f91960cc3db683c38b4 (reposimplestore !)
182 deleting data/d3/f/99fa7136105a15e2045ce3d9152e4837c5349e4d (reposimplestore !)
183 deleting data/d3/f/index (reposimplestore !)
173 deleting meta/d3/00manifest.i (tree !)
184 deleting meta/d3/00manifest.i (tree !)
174 $ hg log -T '{desc}\n' -r .
185 $ hg log -T '{desc}\n' -r .
175 add d10/f
186 add d10/f
@@ -189,7 +200,10 b' Updates to nullid if necessary'
189 * (glob)
200 * (glob)
190 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
201 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
191 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
202 saved backup bundle to $TESTTMP/narrow-local-changes/.hg/strip-backup/*-narrow.hg (glob)
192 deleting data/d3/f.i
203 deleting data/d3/f.i (reporevlogstore !)
204 deleting data/d3/f/2661d26c649684b482d10f91960cc3db683c38b4 (reposimplestore !)
205 deleting data/d3/f/5ce0767945cbdbca3b924bb9fbf5143f72ab40ac (reposimplestore !)
206 deleting data/d3/f/index (reposimplestore !)
193 deleting meta/d3/00manifest.i (tree !)
207 deleting meta/d3/00manifest.i (tree !)
194 $ hg id
208 $ hg id
195 000000000000
209 000000000000
@@ -209,7 +223,9 b' Can remove last include, making repo emp'
209 comparing with ssh://user@dummy/master
223 comparing with ssh://user@dummy/master
210 searching for changes
224 searching for changes
211 looking for local changes to affected paths
225 looking for local changes to affected paths
212 deleting data/d0/f.i
226 deleting data/d0/f.i (reporevlogstore !)
227 deleting data/d0/f/362fef284ce2ca02aecc8de6d5e8a1c3af0556fe (reposimplestore !)
228 deleting data/d0/f/index (reposimplestore !)
213 deleting meta/d0/00manifest.i (tree !)
229 deleting meta/d0/00manifest.i (tree !)
214 $ hg tracked
230 $ hg tracked
215 $ hg files
231 $ hg files
@@ -265,7 +281,9 b' https://bitbucket.org/Google/narrowhg/is'
265 comparing with ssh://user@dummy/master
281 comparing with ssh://user@dummy/master
266 searching for changes
282 searching for changes
267 looking for local changes to affected paths
283 looking for local changes to affected paths
268 deleting data/d6/f.i
284 deleting data/d6/f.i (reporevlogstore !)
285 deleting data/d6/f/7339d30678f451ac8c3f38753beeb4cf2e1655c7 (reposimplestore !)
286 deleting data/d6/f/index (reposimplestore !)
269 deleting meta/d6/00manifest.i (tree !)
287 deleting meta/d6/00manifest.i (tree !)
270 $ hg tracked
288 $ hg tracked
271 I path:d0
289 I path:d0
@@ -285,7 +303,7 b' https://bitbucket.org/Google/narrowhg/is'
285 comparing with ssh://user@dummy/master
303 comparing with ssh://user@dummy/master
286 searching for changes
304 searching for changes
287 looking for local changes to affected paths
305 looking for local changes to affected paths
288 deleting data/d3/f.i
306 deleting data/d3/f.i (reporevlogstore !)
289 $ hg tracked
307 $ hg tracked
290 I path:d0
308 I path:d0
291 I path:d3
309 I path:d3
@@ -303,7 +321,7 b' https://bitbucket.org/Google/narrowhg/is'
303 comparing with ssh://user@dummy/master
321 comparing with ssh://user@dummy/master
304 searching for changes
322 searching for changes
305 looking for local changes to affected paths
323 looking for local changes to affected paths
306 deleting data/d0/f.i
324 deleting data/d0/f.i (reporevlogstore !)
307 deleting meta/d0/00manifest.i (tree !)
325 deleting meta/d0/00manifest.i (tree !)
308 $ hg tracked
326 $ hg tracked
309 I path:d3
327 I path:d3
General Comments 0
You need to be logged in to leave comments. Login now