~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_hashcache.py

  • Committer: Aaron Bentley
  • Date: 2006-09-20 14:03:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2162.
  • Revision ID: abentley@panoramicfeedback.com-20060920140305-7726fe3eb92690b1
Get tree._iter_changed down to ~ 1 stat per file

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        abspath = './' + filename
141
141
        self._files[abspath] = (file_contents, self._clock)
142
142
 
143
 
    def _fingerprint(self, abspath):
 
143
    def _fingerprint(self, abspath, fs=None):
144
144
        entry = self._files[abspath]
145
145
        return (len(entry[0]),
146
146
                entry[1], entry[1],