/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Robert Collins
  • Date: 2008-09-22 05:15:20 UTC
  • mto: (3696.5.1 commit-updates)
  • mto: This revision was merged to the branch mainline in revision 3741.
  • Revision ID: robertc@robertcollins.net-20080922051520-uhr3pn61w141kagv
Race-free stat-fingerprint updating during commit via a new method get_file_with_stat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
548
548
                # path is missing on disk.
549
549
                continue
550
550
 
551
 
    def _observed_sha1(self, file_id, path, sha1):
 
551
    def _observed_sha1(self, file_id, path, (sha1, statvalue)):
552
552
        """See MutableTree._observed_sha1."""
553
553
        state = self.current_dirstate()
554
554
        entry = self._get_entry(file_id=file_id, path=path)
555
 
        statvalue = os.lstat(self.abspath(path))
556
555
        state._observed_sha1(entry, sha1, statvalue)
557
556
 
558
557
    def kind(self, file_id):