Show More
@@ -502,9 +502,9 b' class hgtagsfnodescache(object):' | |||||
502 |
|
502 | |||
503 | try: |
|
503 | try: | |
504 | lock = repo.wlock(wait=False) |
|
504 | lock = repo.wlock(wait=False) | |
505 |
except error.Lock |
|
505 | except error.LockError: | |
506 | repo.ui.log('tagscache', |
|
506 | repo.ui.log('tagscache', | |
507 |
'not writing .hg/%s because lock |
|
507 | 'not writing .hg/%s because lock cannot be acquired\n' % | |
508 | (_fnodescachefile)) |
|
508 | (_fnodescachefile)) | |
509 | return |
|
509 | return | |
510 |
|
510 |
@@ -114,7 +114,7 b' Repeat with cold tag cache:' | |||||
114 | 0010: ff ff ff ff ff ff ff ff b9 15 46 36 26 b7 b4 a7 |..........F6&...| |
|
114 | 0010: ff ff ff ff ff ff ff ff b9 15 46 36 26 b7 b4 a7 |..........F6&...| | |
115 | 0020: 73 e0 9e e3 c5 2f 51 0e 19 e0 5e 1f f9 66 d8 59 |s..../Q...^..f.Y| |
|
115 | 0020: 73 e0 9e e3 c5 2f 51 0e 19 e0 5e 1f f9 66 d8 59 |s..../Q...^..f.Y| | |
116 |
|
116 | |||
117 | And again, but now unable to write tag cache: |
|
117 | And again, but now unable to write tag cache or lock file: | |
118 |
|
118 | |||
119 | #if unix-permissions |
|
119 | #if unix-permissions | |
120 | $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 |
|
120 | $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 | |
@@ -122,6 +122,11 b' And again, but now unable to write tag c' | |||||
122 | $ hg identify |
|
122 | $ hg identify | |
123 | b9154636be93 tip |
|
123 | b9154636be93 tip | |
124 | $ chmod 755 .hg/cache |
|
124 | $ chmod 755 .hg/cache | |
|
125 | ||||
|
126 | $ chmod 555 .hg | |||
|
127 | $ hg identify | |||
|
128 | b9154636be93 tip | |||
|
129 | $ chmod 755 .hg | |||
125 | #endif |
|
130 | #endif | |
126 |
|
131 | |||
127 | Tag cache debug info written to blackbox log |
|
132 | Tag cache debug info written to blackbox log | |
@@ -144,7 +149,7 b' Failure to acquire lock results in no wr' | |||||
144 | b9154636be93 tip |
|
149 | b9154636be93 tip | |
145 | $ hg blackbox -l 5 |
|
150 | $ hg blackbox -l 5 | |
146 | 1970/01/01 00:00:00 bob> identify |
|
151 | 1970/01/01 00:00:00 bob> identify | |
147 |
1970/01/01 00:00:00 bob> not writing .hg/cache/hgtagsfnodes1 because lock |
|
152 | 1970/01/01 00:00:00 bob> not writing .hg/cache/hgtagsfnodes1 because lock cannot be acquired | |
148 | 1970/01/01 00:00:00 bob> 0/1 cache hits/lookups in * seconds (glob) |
|
153 | 1970/01/01 00:00:00 bob> 0/1 cache hits/lookups in * seconds (glob) | |
149 | 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags |
|
154 | 1970/01/01 00:00:00 bob> writing .hg/cache/tags2-visible with 1 tags | |
150 | 1970/01/01 00:00:00 bob> identify exited 0 after * seconds (glob) |
|
155 | 1970/01/01 00:00:00 bob> identify exited 0 after * seconds (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now