~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

  • Committer: Vincent Ladeuil
  • Date: 2009-04-06 14:01:16 UTC
  • mto: (4241.10.1 bzr.1.14)
  • mto: This revision was merged to the branch mainline in revision 4267.
  • Revision ID: v.ladeuil+lp@free.fr-20090406140116-zkbvjtaxfhbql4l4
Fix unicode related OSX failures.

* bzrlib/tests/test_export.py: 
Fix imports.

* bzrlib/tests/blackbox/test_export.py:
(TestExport.test_tar_export_unicode,
TestExport.test_zip_export_unicode): Use a less problematic
unicode char for OSX.

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!
 
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!
1036
1037
if sys.platform in ('win32', 'darwin'):
1037
1038
    canonical_relpath = _cicp_canonical_relpath
1038
1039
else: