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

  • Committer: Jelmer Vernooij
  • Date: 2011-03-08 00:04:05 UTC
  • mfrom: (5704 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5705.
  • Revision ID: jelmer@samba.org-20110308000405-sgvkkcjm1dz8em4z
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
        """
158
158
        return self.inventory.id2path(file_id)
159
159
 
160
 
    def is_control_filename(self, filename):
161
 
        """True if filename is the name of a control file in this tree.
162
 
 
163
 
        :param filename: A filename within the tree. This is a relative path
164
 
        from the root of this tree.
165
 
 
166
 
        This is true IF and ONLY IF the filename is part of the meta data
167
 
        that bzr controls in this tree. I.E. a random .bzr directory placed
168
 
        on disk will not be a control file for this tree.
169
 
        """
170
 
        return self.bzrdir.is_control_filename(filename)
171
 
 
172
160
    @needs_read_lock
173
161
    def iter_entries_by_dir(self, specific_file_ids=None, yield_parents=False):
174
162
        """Walk the tree in 'by_dir' order.