~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Robert Collins
  • Date: 2007-07-03 02:33:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2581.
  • Revision ID: robertc@robertcollins.net-20070703023332-jz0qdt2dwhzjuhlc
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
  deprecated in favour of ``MutableTree.smart_add``. (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