~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Aaron Bentley
  • Date: 2006-08-07 23:14:45 UTC
  • mto: (1731.1.39 nested-trees)
  • mto: This revision was merged to the branch mainline in revision 1910.
  • Revision ID: aaron.bentley@utoronto.ca-20060807231445-618a867437f6e82c
RemoveĀ is_root

Show diffs side-by-side

added added

removed removed

Lines of Context:
1234
1234
        file_ie.name = new_name
1235
1235
        file_ie.parent_id = new_parent_id
1236
1236
 
1237
 
    def is_root(self, file_id):
1238
 
        return self.root is not None and file_id == self.root.file_id
1239
 
 
1240
1237
 
1241
1238
def make_entry(kind, name, parent_id, file_id=None):
1242
1239
    """Create an inventory entry.