~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Aaron Bentley
  • Date: 2006-09-21 22:02:58 UTC
  • mto: This revision was merged to the branch mainline in revision 2048.
  • Revision ID: abentley@panoramicfeedback.com-20060921220258-50026dc4220c8b11
More work on bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
    def has_filename(self, filename):
98
98
        return bool(self.inventory.path2id(filename))
99
99
 
100
 
    def list_files(self):
 
100
    def list_files(self, include_root=False):
101
101
        # The only files returned by this are those from the version
102
102
        entries = self.inventory.iter_entries()
103
 
        # skip the root for compatability with the current apis.
104
 
        entries.next()
 
103
        import pdb; pdb.set_trace()
 
104
        if not include_root:
 
105
            # skip the root for compatability with the current apis.
 
106
            entries.next()
105
107
        for path, entry in entries:
106
108
            yield path, 'V', entry.kind, entry.file_id, entry
107
109