/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/transform.py

  • Committer: Aaron Bentley
  • Date: 2008-07-24 16:09:59 UTC
  • mto: (3363.16.1 __contains__)
  • mto: This revision was merged to the branch mainline in revision 3726.
  • Revision ID: aaron@aaronbentley.com-20080724160959-oeoyqyf5nydtskno
Handle missing files better

Show diffs side-by-side

added added

removed removed

Lines of Context:
1473
1473
 
1474
1474
    def _comparison_data(self, entry, path):
1475
1475
        kind, size, executable, link_or_sha1 = self.path_content_summary(path)
 
1476
        if kind == 'missing':
 
1477
            kind = None
 
1478
            executable = False
 
1479
        else:
 
1480
            file_id = self._transform.final_file_id(self._path2trans_id(path))
 
1481
            executable = self.is_executable(file_id, path)
1476
1482
        return kind, executable, None
1477
1483
 
1478
1484
    def lock_read(self):