/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 breezy/transport/local.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-04 00:08:59 UTC
  • mfrom: (7122.6.12 win-symlink-warning)
  • Revision ID: breezy.the.bot@gmail.com-20190604000859-2xwms4tkctrj83dm
Allow symbolic links to exist when checking out trees on Windows.

Merged from https://code.launchpad.net/~jelmer/brz/win-symlink-warning/+merge/363900

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
            except (IOError, OSError) as e:
533
533
                self._translate_error(e, source)
534
534
 
535
 
    if osutils.has_symlinks():
 
535
    if getattr(os, 'symlink', None) is not None:
536
536
        def symlink(self, source, link_name):
537
537
            """See Transport.symlink."""
538
538
            abs_link_dirpath = urlutils.dirname(self.abspath(link_name))