~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
810
810
        else:
811
811
            return '?'
812
812
 
813
 
    def list_files(self):
 
813
    def list_files(self, include_root=False):
814
814
        """Recursively list all files as (path, class, kind, id, entry).
815
815
 
816
816
        Lists, but does not descend into unversioned directories.
821
821
        Skips the control directory.
822
822
        """
823
823
        inv = self._inventory
 
824
        if include_root is True:
 
825
            yield ('', 'V', 'directory', inv.root.file_id, inv.root)
824
826
        # Convert these into local objects to save lookup times
825
827
        pathjoin = osutils.pathjoin
826
828
        file_kind = osutils.file_kind