~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-29 07:32:29 UTC
  • Revision ID: mbp@sourcefrog.net-20050329073229-de2e89d115d81cdc
new Tree.ignored_files based on Tree.extras()

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
                
272
272
 
273
273
    def ignored_files(self):
274
 
        for fpath, fclass, fkind, fid in self.list_files():
275
 
            if fclass == 'I':
276
 
                yield fpath
 
274
        """Yield list of PATH, IGNORE_PATTERN"""
 
275
        for subp in self.extras():
 
276
            pat = self.is_ignored(subp)
 
277
            if pat != None:
 
278
                yield subp, pat
277
279
 
278
280
 
279
281
    def get_ignore_list(self):