~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-04 08:08:08 UTC
  • mfrom: (2568.2.10 add)
  • Revision ID: pqm@pqm.ubuntu.com-20070704080808-0ptk5p5yiwxjgnt7
(robertc) Overhaul smart_add to be an api on MutableTree allowing specialisation and reducing some cruft. (Robert Collins, Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1047
1047
                        child_dirs.append((child_relpath+'/', child_ie))
1048
1048
            stack.extend(reversed(child_dirs))
1049
1049
 
 
1050
    def make_entry(self, kind, name, parent_id, file_id=None):
 
1051
        """Simple thunk to bzrlib.inventory.make_entry."""
 
1052
        return make_entry(kind, name, parent_id, file_id)
 
1053
 
1050
1054
    def entries(self):
1051
1055
        """Return list of (path, ie) for all entries except the root.
1052
1056