~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Martin Pool
  • Date: 2008-06-11 03:56:46 UTC
  • mfrom: (3452.1.1 bzr.dev.mlm)
  • mto: This revision was merged to the branch mainline in revision 3493.
  • Revision ID: mbp@sourcefrog.net-20080611035646-gcfmu3tzavlvxj3z
\#212289 avoid assuming Windows diff tools can understand symlinks

Show diffs side-by-side

added added

removed removed

Lines of Context:
848
848
        return False
849
849
 
850
850
 
 
851
def host_os_dereferences_symlinks():
 
852
    return (has_symlinks()
 
853
            and sys.platform not in ('cygwin', 'win32'))
 
854
 
 
855
 
851
856
def contains_whitespace(s):
852
857
    """True if there are any whitespace characters in s."""
853
858
    # string.whitespace can include '\xa0' in certain locales, because it is