Show More
@@ -367,7 +367,6 b' Errors writing to .hgtags fnodes cache a' | |||||
367 | 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) |
|
367 | 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) | |
368 |
|
368 | |||
369 | $ chmod a+w .hg/cache/hgtagsfnodes1 |
|
369 | $ chmod a+w .hg/cache/hgtagsfnodes1 | |
370 | #endif |
|
|||
371 |
|
370 | |||
372 | $ rm -f .hg/cache/tags2-visible |
|
371 | $ rm -f .hg/cache/tags2-visible | |
373 | $ hg tags |
|
372 | $ hg tags | |
@@ -384,21 +383,32 b' Errors writing to .hgtags fnodes cache a' | |||||
384 | $ f --size .hg/cache/hgtagsfnodes1 |
|
383 | $ f --size .hg/cache/hgtagsfnodes1 | |
385 | .hg/cache/hgtagsfnodes1: size=168 |
|
384 | .hg/cache/hgtagsfnodes1: size=168 | |
386 |
|
385 | |||
|
386 | $ hg -q --config extensions.strip= strip -r 6 --no-backup | |||
|
387 | #endif | |||
|
388 | ||||
387 | Stripping doesn't truncate the tags cache until new data is available |
|
389 | Stripping doesn't truncate the tags cache until new data is available | |
388 |
|
390 | |||
|
391 | $ rm -f .hg/cache/hgtagsfnodes1 .hg/cache/tags2-visible | |||
|
392 | $ hg tags | |||
|
393 | tip 5:8dbfe60eff30 | |||
|
394 | bar 1:78391a272241 | |||
|
395 | ||||
|
396 | $ f --size .hg/cache/hgtagsfnodes1 | |||
|
397 | .hg/cache/hgtagsfnodes1: size=144 | |||
|
398 | ||||
389 | $ hg -q --config extensions.strip= strip -r 5 --no-backup |
|
399 | $ hg -q --config extensions.strip= strip -r 5 --no-backup | |
390 | $ hg tags |
|
400 | $ hg tags | |
391 | tip 4:0c192d7d5e6b |
|
401 | tip 4:0c192d7d5e6b | |
392 | bar 1:78391a272241 |
|
402 | bar 1:78391a272241 | |
393 |
|
403 | |||
394 | $ hg blackbox -l 4 |
|
404 | $ hg blackbox -l 4 | |
395 | 1970/01/01 00:00:00 bob> tags |
|
405 | 1970/01/01 00:00:00 bob> writing 24 bytes to cache/hgtagsfnodes1 | |
396 |
1970/01/01 00:00:00 bob> |
|
406 | 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob) | |
397 | 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags |
|
407 | 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags | |
398 | 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) |
|
408 | 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) | |
399 |
|
409 | |||
400 | $ f --size .hg/cache/hgtagsfnodes1 |
|
410 | $ f --size .hg/cache/hgtagsfnodes1 | |
401 |
.hg/cache/hgtagsfnodes1: size=1 |
|
411 | .hg/cache/hgtagsfnodes1: size=120 | |
402 |
|
412 | |||
403 | $ echo dummy > foo |
|
413 | $ echo dummy > foo | |
404 | $ hg commit -m throwaway3 |
|
414 | $ hg commit -m throwaway3 |
General Comments 0
You need to be logged in to leave comments.
Login now