##// END OF EJS Templates
remotefilelog: remove most of the debugwait* command in the tests...
marmoute -
r44302:4f40dc19 stable
parent child Browse files
Show More
@@ -79,7 +79,6 b''
79 new changesets 6b4b6f66ef8c
79 new changesets 6b4b6f66ef8c
80 (run 'hg update' to get a working copy)
80 (run 'hg update' to get a working copy)
81 prefetching file contents
81 prefetching file contents
82 $ hg debugwaitonprefetch >/dev/null 2>&1
83 $ find $CACHEDIR -type f | sort
82 $ find $CACHEDIR -type f | sort
84 $TESTTMP/hgcache/master/11/f6ad8ec52a2984abaafd7c3b516503785c2072/ef95c5376f34698742fe34f315fd82136f8f68c0
83 $TESTTMP/hgcache/master/11/f6ad8ec52a2984abaafd7c3b516503785c2072/ef95c5376f34698742fe34f315fd82136f8f68c0
85 $TESTTMP/hgcache/master/95/cb0bfd2977c761298d9624e4b4d4c72a39974a/076f5e2225b3ff0400b98c92aa6cdf403ee24cca
84 $TESTTMP/hgcache/master/95/cb0bfd2977c761298d9624e4b4d4c72a39974a/076f5e2225b3ff0400b98c92aa6cdf403ee24cca
@@ -107,8 +106,6 b''
107 new changesets 6b4b6f66ef8c
106 new changesets 6b4b6f66ef8c
108 (run 'hg update' to get a working copy)
107 (run 'hg update' to get a working copy)
109 prefetching file contents
108 prefetching file contents
110 $ hg debugwaitonprefetch >/dev/null 2>&1
111 $ hg debugwaitonrepack >/dev/null 2>&1
112 $ find $CACHEDIR -type f | sort
109 $ find $CACHEDIR -type f | sort
113 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histidx
110 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histidx
114 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histpack
111 $TESTTMP/hgcache/master/packs/6e8633deba6e544e5f8edbd7b996d6e31a2c42ae.histpack
@@ -140,8 +137,6 b''
140 $ hg up -r 0
137 $ hg up -r 0
141 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
138 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
142 * files fetched over * fetches - (* misses, 0.00% hit ratio) over *s (glob)
139 * files fetched over * fetches - (* misses, 0.00% hit ratio) over *s (glob)
143 $ hg debugwaitonprefetch >/dev/null 2>&1
144 $ hg debugwaitonrepack >/dev/null 2>&1
145 $ find $CACHEDIR -type f | sort
140 $ find $CACHEDIR -type f | sort
146 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
141 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
147 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
142 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
@@ -189,8 +184,6 b''
189 $ hg commit -qAm b
184 $ hg commit -qAm b
190 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob)
185 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob)
191 $ hg bookmark temporary
186 $ hg bookmark temporary
192 $ hg debugwaitonprefetch >/dev/null 2>&1
193 $ hg debugwaitonrepack >/dev/null 2>&1
194 $ find $CACHEDIR -type f | sort
187 $ find $CACHEDIR -type f | sort
195 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
188 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
196 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
189 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
@@ -236,8 +229,6 b''
236 rebasing 3:d9cf06e3b5b6 "b" (temporary tip)
229 rebasing 3:d9cf06e3b5b6 "b" (temporary tip)
237 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/d9cf06e3b5b6-e5c3dc63-rebase.hg
230 saved backup bundle to $TESTTMP/shallow/.hg/strip-backup/d9cf06e3b5b6-e5c3dc63-rebase.hg
238 3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over *s (glob)
231 3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over *s (glob)
239 $ hg debugwaitonprefetch >/dev/null 2>&1
240 $ hg debugwaitonrepack >/dev/null 2>&1
241
232
242 # Ensure that file 'y' was prefetched - it was not part of the rebase operation and therefore
233 # Ensure that file 'y' was prefetched - it was not part of the rebase operation and therefore
243 # could only be downloaded by the background prefetch
234 # could only be downloaded by the background prefetch
@@ -277,8 +268,6 b''
277 (running background incremental repack)
268 (running background incremental repack)
278 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
269 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
279
270
280 $ hg debugwaitonrepack >/dev/null 2>&1
281
282 $ find $CACHEDIR -type f | sort
271 $ find $CACHEDIR -type f | sort
283 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
272 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
284 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
273 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histpack
@@ -319,7 +308,6 b''
319 got lock after * seconds (glob) (?)
308 got lock after * seconds (glob) (?)
320 (running background incremental repack)
309 (running background incremental repack)
321 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
310 * files fetched over 1 fetches - (* misses, 0.00% hit ratio) over *s (glob) (?)
322 $ hg debugwaitonrepack >/dev/null 2>&1
323
311
324 $ find $CACHEDIR -type f | sort
312 $ find $CACHEDIR -type f | sort
325 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
313 $TESTTMP/hgcache/master/packs/8f1443d44e57fec96f72fb2412e01d2818767ef2.histidx
@@ -40,7 +40,6 b''
40 $ hg prefetch
40 $ hg prefetch
41 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
41 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
42 $ hg repack
42 $ hg repack
43 $ hg debugwaitonrepack >/dev/null 2>%1
44
43
45 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
44 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
46 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
45 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
@@ -72,7 +71,6 b''
72 > EOF
71 > EOF
73
72
74 $ hg repack
73 $ hg repack
75 $ hg debugwaitonrepack >/dev/null 2>%1
76
74
77 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
75 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
78 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
76 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
@@ -99,7 +97,6 b''
99 $ hg prefetch
97 $ hg prefetch
100 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
98 2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
101 $ hg repack
99 $ hg repack
102 $ hg debugwaitonrepack >/dev/null 2>%1
103
100
104 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
101 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
105 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
102 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
@@ -132,7 +129,6 b''
132 > EOF
129 > EOF
133
130
134 $ hg repack
131 $ hg repack
135 $ hg debugwaitonrepack >/dev/null 2>%1
136
132
137 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
133 $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
138 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
134 $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
@@ -143,7 +143,6 b''
143
143
144 $ hg repack --background
144 $ hg repack --background
145 (running background repack)
145 (running background repack)
146 $ hg debugwaitonrepack >/dev/null 2>&1
147 $ find $CACHEDIR -type f | sort
146 $ find $CACHEDIR -type f | sort
148 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
147 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
149 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.datapack
148 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.datapack
@@ -342,7 +341,6 b' Pull should run background repack'
342 searching for changes
341 searching for changes
343 no changes found
342 no changes found
344 (running background incremental repack)
343 (running background incremental repack)
345 $ hg debugwaitonrepack >/dev/null 2>&1
346 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
344 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
347 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
345 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
348 $ ls_l $TESTTMP/hgcache/master/packs/ | grep histpack
346 $ ls_l $TESTTMP/hgcache/master/packs/ | grep histpack
@@ -153,7 +153,6 b''
153
153
154 $ hg repack --background
154 $ hg repack --background
155 (running background repack)
155 (running background repack)
156 $ hg debugwaitonrepack >/dev/null 2>&1
157 $ find $CACHEDIR -type f | sort
156 $ find $CACHEDIR -type f | sort
158 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
157 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.dataidx
159 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.datapack
158 $TESTTMP/hgcache/master/packs/39443fa1064182e93d968b5cba292eb5283260d0.datapack
@@ -371,7 +370,6 b' Pull should run background repack'
371 searching for changes
370 searching for changes
372 no changes found
371 no changes found
373 (running background incremental repack)
372 (running background incremental repack)
374 $ hg debugwaitonrepack >/dev/null 2>&1
375 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
373 $ ls_l $TESTTMP/hgcache/master/packs/ | grep datapack
376 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
374 -r--r--r-- 303 156a6c1c83aeb69422d7936e0a46ba9bc06a71c0.datapack
377 $ ls_l $TESTTMP/hgcache/master/packs/ | grep histpack
375 $ ls_l $TESTTMP/hgcache/master/packs/ | grep histpack
General Comments 0
You need to be logged in to leave comments. Login now