/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: Gustav Hartvigsson
  • Date: 2021-01-09 21:36:27 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210109213627-h1xwcutzy9m7a99b
Added 'Case Preserving Working Tree Use Cases' from Canonical Wiki

* Addod a page from the Canonical Bazaar wiki
  with information on the scmeatics of case
  perserving filesystems an a case insensitive
  filesystem works.
  
  * Needs re-work, but this will do as it is the
    same inforamoton as what was on the linked
    page in the currint documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
This is a fairly thin wrapper on regular file IO.
20
20
"""
21
21
 
22
 
from __future__ import absolute_import
23
 
 
24
22
import os
25
23
from stat import ST_MODE, S_ISDIR, S_IMODE
26
24
import sys
532
530
            except (IOError, OSError) as e:
533
531
                self._translate_error(e, source)
534
532
 
535
 
    if osutils.has_symlinks():
 
533
    if getattr(os, 'symlink', None) is not None:
536
534
        def symlink(self, source, link_name):
537
535
            """See Transport.symlink."""
538
536
            abs_link_dirpath = urlutils.dirname(self.abspath(link_name))