~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-30 05:50:28 UTC
  • mfrom: (4183.5.9 commit-uses-ric)
  • Revision ID: pqm@pqm.ubuntu.com-20090330055028-lhmncpzf7ebkd2yc
(robertc) Teach commit to use record_iter_changes for some commits.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1527
1527
        :raises: NoSuchId if any fileid is not currently versioned.
1528
1528
        """
1529
1529
        for file_id in file_ids:
 
1530
            if file_id not in self._inventory:
 
1531
                raise errors.NoSuchId(self, file_id)
 
1532
        for file_id in file_ids:
1530
1533
            if self._inventory.has_id(file_id):
1531
1534
                self._inventory.remove_recursive_id(file_id)
1532
 
            else:
1533
 
                raise errors.NoSuchId(self, file_id)
1534
1535
        if len(file_ids):
1535
1536
            # in the future this should just set a dirty bit to wait for the
1536
1537
            # final unlock. However, until all methods of workingtree start