~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hashcache.py

  • Committer: Robert Collins
  • Date: 2005-10-12 00:24:52 UTC
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051012002452-64068f25c8656f66
Wipe the hashcache after a successful upgrade

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        self.update_count = 0
102
102
        self._cache = {}
103
103
 
104
 
 
105
104
    def cache_file_name(self):
 
105
        # FIXME: duplicate path logic here, this should be 
 
106
        # something like 'branch.controlfile'.
106
107
        return os.sep.join([self.basedir, '.bzr', 'stat-cache'])
107
108
 
108
 
 
109
 
 
110
 
 
111
109
    def clear(self):
112
110
        """Discard all cached information.
113
111