--- a/tests/test-tags.t Mon Sep 07 17:08:35 2015 -0700
+++ b/tests/test-tags.t Mon Sep 07 11:31:44 2015 -0700
@@ -137,11 +137,11 @@
$ hg identify
b9154636be93 tip
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> identify
- 1970/01/01 00:00:00 bob> writing 48 bytes to cache/hgtagsfnodes1
- 1970/01/01 00:00:00 bob> 0/1 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> identify exited 0 after ?.?? seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> identify (glob)
+ 1970/01/01 00:00:00 bob (*)> writing 48 bytes to cache/hgtagsfnodes1 (glob)
+ 1970/01/01 00:00:00 bob (*)> 0/1 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> identify exited 0 after ?.?? seconds (glob)
Failure to acquire lock results in no write
@@ -150,11 +150,11 @@
$ hg identify
b9154636be93 tip
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> identify
- 1970/01/01 00:00:00 bob> not writing .hg/cache/hgtagsfnodes1 because lock cannot be acquired
- 1970/01/01 00:00:00 bob> 0/1 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> identify exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> identify (glob)
+ 1970/01/01 00:00:00 bob (*)> not writing .hg/cache/hgtagsfnodes1 because lock cannot be acquired (glob)
+ 1970/01/01 00:00:00 bob (*)> 0/1 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> identify exited 0 after * seconds (glob)
$ fnodescacheexists
no fnodes cache
@@ -349,11 +349,11 @@
bar 1:78391a272241
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> tags
- 1970/01/01 00:00:00 bob> writing 24 bytes to cache/hgtagsfnodes1
- 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> tags (glob)
+ 1970/01/01 00:00:00 bob (*)> writing 24 bytes to cache/hgtagsfnodes1 (glob)
+ 1970/01/01 00:00:00 bob (*)> 2/3 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob)
#if unix-permissions no-root
Errors writing to .hgtags fnodes cache are silently ignored
@@ -369,11 +369,11 @@
bar 1:78391a272241
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> tags
- 1970/01/01 00:00:00 bob> couldn't write cache/hgtagsfnodes1: [Errno 13] Permission denied: '$TESTTMP/t2/.hg/cache/hgtagsfnodes1'
- 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> tags (glob)
+ 1970/01/01 00:00:00 bob (*)> couldn't write cache/hgtagsfnodes1: [Errno 13] Permission denied: '$TESTTMP/t2/.hg/cache/hgtagsfnodes1' (glob)
+ 1970/01/01 00:00:00 bob (*)> 2/3 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob)
$ chmod a+w .hg/cache/hgtagsfnodes1
@@ -383,11 +383,11 @@
bar 1:78391a272241
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> tags
- 1970/01/01 00:00:00 bob> writing 24 bytes to cache/hgtagsfnodes1
- 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> tags (glob)
+ 1970/01/01 00:00:00 bob (*)> writing 24 bytes to cache/hgtagsfnodes1 (glob)
+ 1970/01/01 00:00:00 bob (*)> 2/3 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob)
$ f --size .hg/cache/hgtagsfnodes1
.hg/cache/hgtagsfnodes1: size=168
@@ -411,10 +411,10 @@
bar 1:78391a272241
$ hg blackbox -l 4
- 1970/01/01 00:00:00 bob> writing 24 bytes to cache/hgtagsfnodes1
- 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing 24 bytes to cache/hgtagsfnodes1 (glob)
+ 1970/01/01 00:00:00 bob (*)> 2/3 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob)
$ f --size .hg/cache/hgtagsfnodes1
.hg/cache/hgtagsfnodes1: size=120
@@ -427,11 +427,11 @@
bar 1:78391a272241
$ hg blackbox -l 5
- 1970/01/01 00:00:00 bob> tags
- 1970/01/01 00:00:00 bob> writing 24 bytes to cache/hgtagsfnodes1
- 1970/01/01 00:00:00 bob> 2/3 cache hits/lookups in * seconds (glob)
- 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags
- 1970/01/01 00:00:00 bob> tags exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> tags (glob)
+ 1970/01/01 00:00:00 bob (*)> writing 24 bytes to cache/hgtagsfnodes1 (glob)
+ 1970/01/01 00:00:00 bob (*)> 2/3 cache hits/lookups in * seconds (glob)
+ 1970/01/01 00:00:00 bob (*)> writing .hg/cache/tags2-visible with 1 tags (glob)
+ 1970/01/01 00:00:00 bob (*)> tags exited 0 after * seconds (glob)
$ f --size .hg/cache/hgtagsfnodes1
.hg/cache/hgtagsfnodes1: size=144