Ejemplo n.º 1
0
 def reopen_hashcache(self):
     hc = HashCache('.', '.bzr/stat-cache')
     hc.read()
     return hc
Ejemplo n.º 2
0
 def make_hashcache(self):
     # make a dummy bzr directory just to hold the cache
     os.mkdir('.bzr')
     hc = HashCache('.', '.bzr/stat-cache')
     return hc