~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Robert Collins
  • Date: 2006-02-17 04:17:09 UTC
  • mto: (1534.1.24 integration)
  • mto: This revision was merged to the branch mainline in revision 1554.
  • Revision ID: robertc@robertcollins.net-20060217041709-7251eb701f69ca7e
Review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
        self.path2id = self._inventory.path2id
278
278
 
279
279
    def is_control_filename(self, filename):
280
 
        """True if filename is the name of a control file in this tree."""
 
280
        """True if filename is the name of a control file in this tree.
 
281
        
 
282
        This is true IF and ONLY IF the filename is part of the meta data
 
283
        that bzr controls in this tree. I.E. a random .bzr directory placed
 
284
        on disk will not be a control file for this tree.
 
285
        """
281
286
        try:
282
287
            self.bzrdir.transport.relpath(self.abspath(filename))
283
288
            return True