/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Martin Pool
  • Date: 2010-06-11 06:33:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5296.
  • Revision ID: mbp@canonical.com-20100611063315-cba8kkz8zzeh8y37
ScriptRunner strips consistent leading indentation from scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
        try:
404
404
            # *don't* call bzrlib.osutils.rename, because we want to
405
405
            # detect conflicting names on rename, and osutils.rename tries to
406
 
            # mask cross-platform differences there; however we do update the
407
 
            # exception to include the filenames
 
406
            # mask cross-platform differences there
408
407
            os.rename(path_from, path_to)
409
408
        except (IOError, OSError),e:
410
409
            # TODO: What about path_to?
411
 
            self._translate_error(
412
 
                osutils._add_rename_error_details(e, path_from, path_to),
413
 
                path_from)
 
410
            self._translate_error(e, path_from)
414
411
 
415
412
    def move(self, rel_from, rel_to):
416
413
        """Move the item at rel_from to the location at rel_to"""