/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 von Gagern
  • Date: 2010-05-25 11:34:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5273.
  • Revision ID: martin.vgagern@gmx.net-20100525113435-nfut18a2pvresya4
Drop outdated shell completion for zsh.

The new README file in the corresponding directory suggests some
alternatives, first and foremost the one shipped with zsh.

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"""