Mercurial > hg
comparison tests/test-tags.t @ 24801:f379428a0754
tests: fix test-tags on vfat
The unix conditional section wasn't cleaning up sufficiently.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Apr 2015 20:52:37 -0500 |
parents | a698e088ad29 |
children | 2ee10789d66b |
comparison
equal
deleted
inserted
replaced
24800:cde547252f2e | 24801:f379428a0754 |
---|---|
365 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob) | 365 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob) |
366 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags | 366 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags |
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 |
374 tip 6:b968051b5cf3 | 373 tip 6:b968051b5cf3 |
375 bar 1:78391a272241 | 374 bar 1:78391a272241 |
382 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) | 381 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob) |
383 | 382 |
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> 3/3 cache hits/lookups in * seconds (glob) | 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=168 | 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 |
405 | 415 |
406 $ hg tags | 416 $ hg tags |