/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: 2011-04-29 23:11:10 UTC
  • mto: (5832.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5834.
  • Revision ID: aaron@aaronbentley.com-20110429231110-w87lrlz9i8uo8vzo
Fix behaviour of missing entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1898
1898
        path = self._tree_id_paths.get(trans_id)
1899
1899
        if path is None:
1900
1900
            return None
1901
 
        return self._tree.path_content_summary(path)[0]
 
1901
        kind = self._tree.path_content_summary(path)[0]
 
1902
        if kind == 'missing':
 
1903
            kind = None
 
1904
        return kind
1902
1905
 
1903
1906
    def _set_mode(self, trans_id, mode_id, typefunc):
1904
1907
        """Set the mode of new file contents.