~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_dirstate.py

  • Committer: Martin Pool
  • Date: 2007-09-28 07:09:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2894.
  • Revision ID: mbp@sourcefrog.net-20070928070905-ge0e8x20c21192j9
Add -Dhashcache option; clean up dirstate sha1 code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1404
1404
        timestamp = super(InstrumentedDirState, self)._sha_cutoff_time()
1405
1405
        self._cutoff_time = timestamp + self._time_offset
1406
1406
 
1407
 
    def _sha1_file(self, abspath, entry):
 
1407
    def _sha1_file(self, abspath):
1408
1408
        self._log.append(('sha1', abspath))
1409
 
        return super(InstrumentedDirState, self)._sha1_file(abspath, entry)
 
1409
        return osutils.sha_file_by_name(abspath)
1410
1410
 
1411
1411
    def _read_link(self, abspath, old_link):
1412
1412
        self._log.append(('read_link', abspath, old_link))