Show More
@@ -112,18 +112,6 b' backup bundles get logged' | |||||
112 | 1970/01/01 00:00:00 bob> wrote base branch cache with 1 labels and 2 nodes |
|
112 | 1970/01/01 00:00:00 bob> wrote base branch cache with 1 labels and 2 nodes | |
113 | 1970/01/01 00:00:00 bob> strip tip exited 0 after * seconds (glob) |
|
113 | 1970/01/01 00:00:00 bob> strip tip exited 0 after * seconds (glob) | |
114 |
|
114 | |||
115 | tags cache gets logged |
|
|||
116 | $ hg up tip |
|
|||
117 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
|||
118 | $ hg tag -m 'create test tag' test-tag |
|
|||
119 | $ hg tags |
|
|||
120 | tip 3:5b5562c08298 |
|
|||
121 | test-tag 2:d02f48003e62 |
|
|||
122 | $ hg blackbox -l 3 |
|
|||
123 | 1970/01/01 00:00:00 bob> resolved 1 tags cache entries from 1 manifests in ?.???? seconds (glob) |
|
|||
124 | 1970/01/01 00:00:00 bob> writing tags cache file with 2 heads and 1 tags |
|
|||
125 | 1970/01/01 00:00:00 bob> tags exited 0 after ?.?? seconds (glob) |
|
|||
126 |
|
||||
127 | extension and python hooks - use the eol extension for a pythonhook |
|
115 | extension and python hooks - use the eol extension for a pythonhook | |
128 |
|
116 | |||
129 | $ echo '[extensions]' >> .hg/hgrc |
|
117 | $ echo '[extensions]' >> .hg/hgrc | |
@@ -132,9 +120,10 b' extension and python hooks - use the eol' | |||||
132 | $ echo 'update = echo hooked' >> .hg/hgrc |
|
120 | $ echo 'update = echo hooked' >> .hg/hgrc | |
133 | $ hg update |
|
121 | $ hg update | |
134 | hooked |
|
122 | hooked | |
135 |
|
|
123 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
136 |
$ hg blackbox -l |
|
124 | $ hg blackbox -l 5 | |
137 | 1970/01/01 00:00:00 bob> update |
|
125 | 1970/01/01 00:00:00 bob> update | |
|
126 | 1970/01/01 00:00:00 bob> writing tags cache file with 2 heads and 0 tags | |||
138 | 1970/01/01 00:00:00 bob> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob) |
|
127 | 1970/01/01 00:00:00 bob> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob) | |
139 | 1970/01/01 00:00:00 bob> exthook-update: echo hooked finished in * seconds (glob) |
|
128 | 1970/01/01 00:00:00 bob> exthook-update: echo hooked finished in * seconds (glob) | |
140 | 1970/01/01 00:00:00 bob> update exited 0 after * seconds (glob) |
|
129 | 1970/01/01 00:00:00 bob> update exited 0 after * seconds (glob) | |
@@ -148,7 +137,7 b' log rotation' | |||||
148 | $ hg status |
|
137 | $ hg status | |
149 | $ hg status |
|
138 | $ hg status | |
150 | $ hg tip -q |
|
139 | $ hg tip -q | |
151 | 3:5b5562c08298 |
|
140 | 2:d02f48003e62 | |
152 | $ ls .hg/blackbox.log* |
|
141 | $ ls .hg/blackbox.log* | |
153 | .hg/blackbox.log |
|
142 | .hg/blackbox.log | |
154 | .hg/blackbox.log.1 |
|
143 | .hg/blackbox.log.1 |
@@ -1,3 +1,11 b'' | |||||
|
1 | setup | |||
|
2 | ||||
|
3 | $ cat >> $HGRCPATH << EOF | |||
|
4 | > [extensions] | |||
|
5 | > blackbox= | |||
|
6 | > mock=$TESTDIR/mockblackbox.py | |||
|
7 | > EOF | |||
|
8 | ||||
1 | Helper functions: |
|
9 | Helper functions: | |
2 |
|
10 | |||
3 | $ cacheexists() { |
|
11 | $ cacheexists() { | |
@@ -82,6 +90,18 b' And again, but now unable to write tag c' | |||||
82 | $ chmod 755 .hg |
|
90 | $ chmod 755 .hg | |
83 | #endif |
|
91 | #endif | |
84 |
|
92 | |||
|
93 | Tag cache debug info written to blackbox log | |||
|
94 | ||||
|
95 | $ rm -f .hg/cache/tags | |||
|
96 | $ hg identify | |||
|
97 | b9154636be93 tip | |||
|
98 | $ hg blackbox -l 4 | |||
|
99 | 1970/01/01 00:00:00 bob> identify | |||
|
100 | 1970/01/01 00:00:00 bob> resolved 1 tags cache entries from 1 manifests in ?.???? seconds (glob) | |||
|
101 | 1970/01/01 00:00:00 bob> writing tags cache file with 1 heads and 1 tags | |||
|
102 | 1970/01/01 00:00:00 bob> identify exited 0 after ?.?? seconds (glob) | |||
|
103 | ||||
|
104 | ||||
85 | Create a branch: |
|
105 | Create a branch: | |
86 |
|
106 | |||
87 | $ echo bb > a |
|
107 | $ echo bb > a |
General Comments 0
You need to be logged in to leave comments.
Login now