~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-08 06:22:11 UTC
  • mfrom: (4241.8.9 bzr.1.14)
  • Revision ID: pqm@pqm.ubuntu.com-20090408062211-qhu50uezgnlj7ked
(tanner) merge 1.14rc1 back into bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1030
1030
    return current[len(abs_base)+1:]
1031
1031
 
1032
1032
# XXX - TODO - we need better detection/integration of case-insensitive
1033
 
# file-systems; Linux often sees FAT32 devices, for example, so could
1034
 
# probably benefit from the same basic support there.  For now though, only
1035
 
# Windows gets that support, and it gets it for *all* file-systems!
1036
 
if sys.platform == "win32":
 
1033
# file-systems; Linux often sees FAT32 devices (or NFS-mounted OSX
 
1034
# filesystems), for example, so could probably benefit from the same basic
 
1035
# support there.  For now though, only Windows and OSX get that support, and
 
1036
# they get it for *all* file-systems!
 
1037
if sys.platform in ('win32', 'darwin'):
1037
1038
    canonical_relpath = _cicp_canonical_relpath
1038
1039
else:
1039
1040
    canonical_relpath = relpath