[Pkg-bazaar-commits] ./bzr/unstable r435: - Always call it 'statcache' not 'work cache'.
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:19:57 UTC 2009
------------------------------------------------------------
revno: 435
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Tue 2005-05-10 16:21:52 +1000
message:
- Always call it 'statcache' not 'work cache'.
modified:
bzrlib/statcache.py
-------------- next part --------------
=== modified file 'bzrlib/statcache.py'
--- a/bzrlib/statcache.py 2005-05-10 06:21:07 +0000
+++ b/bzrlib/statcache.py 2005-05-10 06:21:52 +0000
@@ -75,7 +75,7 @@
def _write_cache(branch, entry_iter):
from atomicfile import AtomicFile
- outf = AtomicFile(branch.controlfilename('work-cache'), 'wb', 'utf-8')
+ outf = AtomicFile(branch.controlfilename('stat-cache'), 'wb', 'utf-8')
try:
for entry in entry_iter:
outf.write(entry[0] + ' ' + entry[1] + ' ')
@@ -92,7 +92,7 @@
cache = {}
try:
- cachefile = branch.controlfile('work-cache', 'r')
+ cachefile = branch.controlfile('stat-cache', 'r')
except IOError:
return cache
@@ -163,7 +163,7 @@
cache[file_id] = cacheentry
dirty += 1
- mutter('work cache: read %d files, %d changed, %d in cache'
+ mutter('statcache: read %d files, %d changed, %d in cache'
% (hardcheck, dirty, len(cache)))
if dirty:
More information about the Pkg-bazaar-commits
mailing list