~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-05 08:15:28 UTC
  • mfrom: (1692.7.8 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060505081528-8c0368b718fd7933
(mbp,alexander) rmtree forces deletion of readonly files on win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                            rename, splitpath, sha_file,
46
46
                            file_kind, abspath, normpath, pathjoin,
47
47
                            safe_unicode,
 
48
                            rmtree,
48
49
                            )
49
50
from bzrlib.textui import show_status
50
51
from bzrlib.trace import mutter, note
886
887
        # XXX: cache_root seems to be unused, 2006-01-13 mbp
887
888
        if hasattr(self, 'cache_root') and self.cache_root is not None:
888
889
            try:
889
 
                shutil.rmtree(self.cache_root)
 
890
                rmtree(self.cache_root)
890
891
            except:
891
892
                pass
892
893
            self.cache_root = None