~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Martin
  • Date: 2011-04-15 21:22:57 UTC
  • mto: This revision was merged to the branch mainline in revision 5797.
  • Revision ID: gzlist@googlemail.com-20110415212257-jgtovwwp4be7egd9
Add release notes

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    )
26
26
 
27
27
 
28
 
class RevisionTree(tree.Tree):
 
28
class RevisionTree(tree.InventoryTree):
29
29
    """Tree viewing a previous revision.
30
30
 
31
31
    File text can be retrieved from the text store.
110
110
    def is_executable(self, file_id, path=None):
111
111
        ie = self._inventory[file_id]
112
112
        if ie.kind != "file":
113
 
            return None
 
113
            return False
114
114
        return ie.executable
115
115
 
116
116
    def has_filename(self, filename):