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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-27 20:27:46 UTC
  • mfrom: (1910.2.66 format-bumps)
  • Revision ID: pqm@pqm.ubuntu.com-20060927202746-942eb21d12b7edc7
Add support for bundles and testaments with roots

Show diffs side-by-side

added added

removed removed

Lines of Context:
843
843
        else:
844
844
            return '?'
845
845
 
846
 
    def list_files(self):
 
846
    def list_files(self, include_root=False):
847
847
        """Recursively list all files as (path, class, kind, id, entry).
848
848
 
849
849
        Lists, but does not descend into unversioned directories.
854
854
        Skips the control directory.
855
855
        """
856
856
        inv = self._inventory
 
857
        if include_root is True:
 
858
            yield ('', 'V', 'directory', inv.root.file_id, inv.root)
857
859
        # Convert these into local objects to save lookup times
858
860
        pathjoin = osutils.pathjoin
859
861
        file_kind = osutils.file_kind