~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-06 02:27:03 UTC
  • mfrom: (2502.1.13 fast-checkout)
  • Revision ID: pqm@pqm.ubuntu.com-20070606022703-i49zqzf2wa4kq7fr
Cancelling directories with cancelled children works correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
        suitable, so we have to rename them.
207
207
        """
208
208
        for trans_id in trans_ids:
 
209
            if trans_id not in self._new_contents:
 
210
                del self._limbo_files[trans_id]
 
211
                continue
209
212
            old_path = self._limbo_files[trans_id]
210
213
            new_path = self._limbo_name(trans_id, from_scratch=True)
211
214
            os.rename(old_path, new_path)