##// END OF EJS Templates
blackbox: log working directory version...
timeless -
r28245:caa2a0c6 default
parent child Browse files
Show More
@@ -35,6 +35,8 b' import errno'
35 35 import re
36 36
37 37 from mercurial.i18n import _
38 from mercurial.node import hex
39
38 40 from mercurial import (
39 41 cmdutil,
40 42 util,
@@ -64,6 +66,12 b' def _closelog(vfs):'
64 66 del filehandles[path]
65 67 fp.close()
66 68
69 def hexfn(node):
70 if node is None:
71 return None
72 else:
73 return hex(node)
74
67 75 def wrapui(ui):
68 76 class blackboxui(ui.__class__):
69 77 @util.propertycache
@@ -131,17 +139,27 b' def wrapui(ui):'
131 139 user = util.getuser()
132 140 pid = str(util.getpid())
133 141 formattedmsg = msg[0] % msg[1:]
142 rev = '(unknown)'
143 if util.safehasattr(self, '_bbrepo'):
144 ctx = self._bbrepo[None]
145 if ctx.rev() is not None:
146 rev = hexfn(ctx.node())
147 else:
148 parents = ctx.parents()
149 rev = ('+'.join([hexfn(p.node()) for p in parents]))
134 150 try:
135 fp.write('%s %s (%s)> %s' %
136 (date, user, pid, formattedmsg))
151 fp.write('%s %s @%s (%s)> %s' %
152 (date, user, rev, pid, formattedmsg))
137 153 fp.flush()
138 154 except IOError as err:
139 155 self.debug('warning: cannot write to blackbox.log: %s\n' %
140 156 err.strerror)
141 lastfp = fp
157 if not lastfp or util.safehasattr(self, '_bbrepo'):
158 lastfp = fp
142 159
143 160 def setrepo(self, repo):
144 161 self._bbvfs = repo.vfs
162 self._bbrepo = repo
145 163
146 164 ui.__class__ = blackboxui
147 165
@@ -12,10 +12,13 b' command, exit codes, and duration'
12 12
13 13 $ echo a > a
14 14 $ hg add a
15 $ hg id > /dev/null
15 16 $ hg blackbox
16 1970/01/01 00:00:00 bob (5000)> add a
17 1970/01/01 00:00:00 bob (5000)> add a exited 0 after * seconds (glob)
18 1970/01/01 00:00:00 bob (5000)> blackbox
17 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> add a
18 1970/01/01 00:00:00 bob @(unknown) (5000)> add a exited 0 after * seconds (glob)
19 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> id
20 1970/01/01 00:00:00 bob @(unknown) (5000)> id exited 0 after * seconds (glob)
21 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
19 22
20 23 incoming change tracking
21 24
@@ -45,12 +48,12 b' clone, commit, pull'
45 48 added 1 changesets with 1 changes to 1 files
46 49 (run 'hg update' to get a working copy)
47 50 $ hg blackbox -l 6
48 1970/01/01 00:00:00 bob (5000)> pull
49 1970/01/01 00:00:00 bob (5000)> updated served branch cache in * seconds (glob)
50 1970/01/01 00:00:00 bob (5000)> wrote served branch cache with 1 labels and 2 nodes
51 1970/01/01 00:00:00 bob (5000)> 1 incoming changes - new heads: d02f48003e62
52 1970/01/01 00:00:00 bob (5000)> pull exited 0 after * seconds (glob)
53 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
51 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> pull
52 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> updated served branch cache in * seconds (glob)
53 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> wrote served branch cache with 1 labels and 2 nodes
54 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> 1 incoming changes - new heads: d02f48003e62
55 1970/01/01 00:00:00 bob @(unknown) (5000)> pull exited 0 after * seconds (glob)
56 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> blackbox -l 6
54 57
55 58 we must not cause a failure if we cannot write to the log
56 59
@@ -107,12 +110,12 b' backup bundles get logged'
107 110 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
108 111 saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/*-backup.hg (glob)
109 112 $ hg blackbox -l 6
110 1970/01/01 00:00:00 bob (5000)> strip tip
111 1970/01/01 00:00:00 bob (5000)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/73f6ee326b27-7612e004-backup.hg (glob)
112 1970/01/01 00:00:00 bob (5000)> updated base branch cache in * seconds (glob)
113 1970/01/01 00:00:00 bob (5000)> wrote base branch cache with 1 labels and 2 nodes
114 1970/01/01 00:00:00 bob (5000)> strip tip exited 0 after * seconds (glob)
115 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
113 1970/01/01 00:00:00 bob @73f6ee326b27d820b0472f1a825e3a50f3dc489b (5000)> strip tip
114 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> saved backup bundle to $TESTTMP/blackboxtest2/.hg/strip-backup/73f6ee326b27-7612e004-backup.hg
115 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> updated base branch cache in * seconds (glob)
116 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> wrote base branch cache with 1 labels and 2 nodes
117 1970/01/01 00:00:00 bob @(unknown) (5000)> strip tip exited 0 after * seconds (glob)
118 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> blackbox -l 6
116 119
117 120 extension and python hooks - use the eol extension for a pythonhook
118 121
@@ -125,12 +128,12 b' extension and python hooks - use the eol'
125 128 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
126 129 1 other heads for branch "default"
127 130 $ hg blackbox -l 6
128 1970/01/01 00:00:00 bob (5000)> update
129 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 0 tags
130 1970/01/01 00:00:00 bob (5000)> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob)
131 1970/01/01 00:00:00 bob (5000)> exthook-update: echo hooked finished in * seconds (glob)
132 1970/01/01 00:00:00 bob (5000)> update exited 0 after * seconds (glob)
133 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
131 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> update
132 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> writing .hg/cache/tags2-visible with 0 tags
133 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob)
134 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> exthook-update: echo hooked finished in * seconds (glob)
135 1970/01/01 00:00:00 bob @(unknown) (5000)> update exited 0 after * seconds (glob)
136 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> blackbox -l 6
134 137
135 138 log rotation
136 139
@@ -151,7 +154,7 b' log rotation'
151 154 $ hg init blackboxtest3
152 155 $ cd blackboxtest3
153 156 $ hg blackbox
154 1970/01/01 00:00:00 bob (5000)> blackbox
157 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
155 158 $ mv .hg/blackbox.log .hg/blackbox.log-
156 159 $ mkdir .hg/blackbox.log
157 160 $ sed -e 's/\(.*test1.*\)/#\1/; s#\(.*commit2.*\)#os.rmdir(".hg/blackbox.log")\nos.rename(".hg/blackbox.log-", ".hg/blackbox.log")\n\1#' $TESTDIR/test-dispatch.py > ../test-dispatch.py
@@ -178,9 +181,9 b' log rotation'
178 181
179 182 result: None
180 183 $ hg blackbox
181 1970/01/01 00:00:00 bob (5000)> blackbox
182 1970/01/01 00:00:00 bob (5000)> blackbox exited 0 after * seconds (glob)
183 1970/01/01 00:00:00 bob (5000)> blackbox
184 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox
185 1970/01/01 00:00:00 bob @(unknown) (5000)> blackbox exited 0 after * seconds (glob)
186 1970/01/01 00:00:00 bob @45589e459b2edfbf3dbde7e01f611d2c1e7453d7 (5000)> blackbox
184 187
185 188 cleanup
186 189 $ cd ..
@@ -68,11 +68,11 b' Hiding a non-tip changeset should change'
68 68 55482a6fb4b1881fa8f746fd52cf6f096bb21c89 test1
69 69
70 70 $ hg blackbox -l 5
71 1970/01/01 00:00:00 bob (5000)> tags
72 1970/01/01 00:00:00 bob (5000)> 2/2 cache hits/lookups in * seconds (glob)
73 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 2 tags
74 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
75 1970/01/01 00:00:00 bob (5000)> blackbox -l 5
71 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> tags
72 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> 2/2 cache hits/lookups in * seconds (glob)
73 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> writing .hg/cache/tags2-visible with 2 tags
74 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
75 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> blackbox -l 5
76 76
77 77 Hiding another changeset should cause the filtered hash to change
78 78
@@ -88,11 +88,11 b' Hiding another changeset should cause th'
88 88 042eb6bfcc4909bad84a1cbf6eb1ddf0ab587d41 head2
89 89
90 90 $ hg blackbox -l 5
91 1970/01/01 00:00:00 bob (5000)> tags
92 1970/01/01 00:00:00 bob (5000)> 1/1 cache hits/lookups in * seconds (glob)
93 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
94 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
95 1970/01/01 00:00:00 bob (5000)> blackbox -l 5
91 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> tags
92 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> 1/1 cache hits/lookups in * seconds (glob)
93 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> writing .hg/cache/tags2-visible with 1 tags
94 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
95 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> blackbox -l 5
96 96
97 97 Resolving tags on an unfiltered repo writes a separate tags cache
98 98
@@ -109,8 +109,8 b' Resolving tags on an unfiltered repo wri'
109 109 d75775ffbc6bca1794d300f5571272879bd280da test2
110 110
111 111 $ hg blackbox -l 5
112 1970/01/01 00:00:00 bob (5000)> --hidden tags
113 1970/01/01 00:00:00 bob (5000)> 2/2 cache hits/lookups in * seconds (glob)
114 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2 with 3 tags
115 1970/01/01 00:00:00 bob (5000)> --hidden tags exited 0 after * seconds (glob)
116 1970/01/01 00:00:00 bob (5000)> blackbox -l 5
112 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> --hidden tags
113 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> 2/2 cache hits/lookups in * seconds (glob)
114 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> writing .hg/cache/tags2 with 3 tags
115 1970/01/01 00:00:00 bob @(unknown) (5000)> --hidden tags exited 0 after * seconds (glob)
116 1970/01/01 00:00:00 bob @2942a772f72a444bef4bef13874d515f50fa27b6 (5000)> blackbox -l 5
@@ -137,12 +137,12 b' Tag cache debug info written to blackbox'
137 137 $ hg identify
138 138 b9154636be93 tip
139 139 $ hg blackbox -l 6
140 1970/01/01 00:00:00 bob (5000)> identify
141 1970/01/01 00:00:00 bob (5000)> writing 48 bytes to cache/hgtagsfnodes1
142 1970/01/01 00:00:00 bob (5000)> 0/1 cache hits/lookups in * seconds (glob)
143 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
144 1970/01/01 00:00:00 bob (5000)> identify exited 0 after * seconds (glob)
145 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
140 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> identify
141 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> writing 48 bytes to cache/hgtagsfnodes1
142 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> 0/1 cache hits/lookups in * seconds (glob)
143 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> writing .hg/cache/tags2-visible with 1 tags
144 1970/01/01 00:00:00 bob @(unknown) (5000)> identify exited 0 after * seconds (glob)
145 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> blackbox -l 6
146 146
147 147 Failure to acquire lock results in no write
148 148
@@ -151,12 +151,12 b' Failure to acquire lock results in no wr'
151 151 $ hg identify
152 152 b9154636be93 tip
153 153 $ hg blackbox -l 6
154 1970/01/01 00:00:00 bob (5000)> identify
155 1970/01/01 00:00:00 bob (5000)> not writing .hg/cache/hgtagsfnodes1 because lock cannot be acquired
156 1970/01/01 00:00:00 bob (5000)> 0/1 cache hits/lookups in * seconds (glob)
157 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
158 1970/01/01 00:00:00 bob (5000)> identify exited 0 after * seconds (glob)
159 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
154 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> identify
155 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> not writing .hg/cache/hgtagsfnodes1 because lock cannot be acquired
156 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> 0/1 cache hits/lookups in * seconds (glob)
157 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> writing .hg/cache/tags2-visible with 1 tags
158 1970/01/01 00:00:00 bob @(unknown) (5000)> identify exited 0 after * seconds (glob)
159 1970/01/01 00:00:00 bob @b9154636be938d3d431e75a7c906504a079bfe07 (5000)> blackbox -l 6
160 160
161 161 $ fnodescacheexists
162 162 no fnodes cache
@@ -351,12 +351,12 b' Extra junk data at the end should get ov'
351 351 bar 1:78391a272241
352 352
353 353 $ hg blackbox -l 6
354 1970/01/01 00:00:00 bob (5000)> tags
355 1970/01/01 00:00:00 bob (5000)> writing 24 bytes to cache/hgtagsfnodes1
356 1970/01/01 00:00:00 bob (5000)> 2/3 cache hits/lookups in * seconds (glob)
357 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
358 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
359 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
354 1970/01/01 00:00:00 bob @8dbfe60eff306a54259cfe007db9e330e7ecf866 (5000)> tags
355 1970/01/01 00:00:00 bob @8dbfe60eff306a54259cfe007db9e330e7ecf866 (5000)> writing 24 bytes to cache/hgtagsfnodes1
356 1970/01/01 00:00:00 bob @8dbfe60eff306a54259cfe007db9e330e7ecf866 (5000)> 2/3 cache hits/lookups in * seconds (glob)
357 1970/01/01 00:00:00 bob @8dbfe60eff306a54259cfe007db9e330e7ecf866 (5000)> writing .hg/cache/tags2-visible with 1 tags
358 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
359 1970/01/01 00:00:00 bob @8dbfe60eff306a54259cfe007db9e330e7ecf866 (5000)> blackbox -l 6
360 360
361 361 #if unix-permissions no-root
362 362 Errors writing to .hgtags fnodes cache are silently ignored
@@ -372,12 +372,12 b' Errors writing to .hgtags fnodes cache a'
372 372 bar 1:78391a272241
373 373
374 374 $ hg blackbox -l 6
375 1970/01/01 00:00:00 bob (5000)> tags
376 1970/01/01 00:00:00 bob (5000)> couldn't write cache/hgtagsfnodes1: [Errno 13] Permission denied: '$TESTTMP/t2/.hg/cache/hgtagsfnodes1' (glob)
377 1970/01/01 00:00:00 bob (5000)> 2/3 cache hits/lookups in * seconds (glob)
378 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
379 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
380 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
375 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> tags
376 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> couldn't write cache/hgtagsfnodes1: [Errno 13] Permission denied: '$TESTTMP/t2/.hg/cache/hgtagsfnodes1'
377 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> 2/3 cache hits/lookups in * seconds (glob)
378 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> writing .hg/cache/tags2-visible with 1 tags
379 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
380 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> blackbox -l 6
381 381
382 382 $ chmod a+w .hg/cache/hgtagsfnodes1
383 383
@@ -387,12 +387,12 b' Errors writing to .hgtags fnodes cache a'
387 387 bar 1:78391a272241
388 388
389 389 $ hg blackbox -l 6
390 1970/01/01 00:00:00 bob (5000)> tags
391 1970/01/01 00:00:00 bob (5000)> writing 24 bytes to cache/hgtagsfnodes1
392 1970/01/01 00:00:00 bob (5000)> 2/3 cache hits/lookups in * seconds (glob)
393 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
394 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
395 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
390 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> tags
391 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> writing 24 bytes to cache/hgtagsfnodes1
392 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> 2/3 cache hits/lookups in * seconds (glob)
393 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> writing .hg/cache/tags2-visible with 1 tags
394 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
395 1970/01/01 00:00:00 bob @b968051b5cf3f624b771779c6d5f84f1d4c3fb5d (5000)> blackbox -l 6
396 396
397 397 $ f --size .hg/cache/hgtagsfnodes1
398 398 .hg/cache/hgtagsfnodes1: size=168
@@ -416,11 +416,11 b" Stripping doesn't truncate the tags cach"
416 416 bar 1:78391a272241
417 417
418 418 $ hg blackbox -l 5
419 1970/01/01 00:00:00 bob (5000)> writing 24 bytes to cache/hgtagsfnodes1
420 1970/01/01 00:00:00 bob (5000)> 2/3 cache hits/lookups in * seconds (glob)
421 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
422 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
423 1970/01/01 00:00:00 bob (5000)> blackbox -l 5
419 1970/01/01 00:00:00 bob @0c192d7d5e6b78a714de54a2e9627952a877e25a (5000)> writing 24 bytes to cache/hgtagsfnodes1
420 1970/01/01 00:00:00 bob @0c192d7d5e6b78a714de54a2e9627952a877e25a (5000)> 2/3 cache hits/lookups in * seconds (glob)
421 1970/01/01 00:00:00 bob @0c192d7d5e6b78a714de54a2e9627952a877e25a (5000)> writing .hg/cache/tags2-visible with 1 tags
422 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
423 1970/01/01 00:00:00 bob @0c192d7d5e6b78a714de54a2e9627952a877e25a (5000)> blackbox -l 5
424 424
425 425 $ f --size .hg/cache/hgtagsfnodes1
426 426 .hg/cache/hgtagsfnodes1: size=120
@@ -433,12 +433,12 b" Stripping doesn't truncate the tags cach"
433 433 bar 1:78391a272241
434 434
435 435 $ hg blackbox -l 6
436 1970/01/01 00:00:00 bob (5000)> tags
437 1970/01/01 00:00:00 bob (5000)> writing 24 bytes to cache/hgtagsfnodes1
438 1970/01/01 00:00:00 bob (5000)> 2/3 cache hits/lookups in * seconds (glob)
439 1970/01/01 00:00:00 bob (5000)> writing .hg/cache/tags2-visible with 1 tags
440 1970/01/01 00:00:00 bob (5000)> tags exited 0 after * seconds (glob)
441 1970/01/01 00:00:00 bob (5000)> blackbox -l 6
436 1970/01/01 00:00:00 bob @035f65efb448350f4772141702a81ab1df48c465 (5000)> tags
437 1970/01/01 00:00:00 bob @035f65efb448350f4772141702a81ab1df48c465 (5000)> writing 24 bytes to cache/hgtagsfnodes1
438 1970/01/01 00:00:00 bob @035f65efb448350f4772141702a81ab1df48c465 (5000)> 2/3 cache hits/lookups in * seconds (glob)
439 1970/01/01 00:00:00 bob @035f65efb448350f4772141702a81ab1df48c465 (5000)> writing .hg/cache/tags2-visible with 1 tags
440 1970/01/01 00:00:00 bob @(unknown) (5000)> tags exited 0 after * seconds (glob)
441 1970/01/01 00:00:00 bob @035f65efb448350f4772141702a81ab1df48c465 (5000)> blackbox -l 6
442 442 $ f --size .hg/cache/hgtagsfnodes1
443 443 .hg/cache/hgtagsfnodes1: size=144
444 444
General Comments 0
You need to be logged in to leave comments. Login now