~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

[merge] bzr.dev 2298 (broken)

Show diffs side-by-side

added added

removed removed

Lines of Context:
922
922
    return cache_utf8.encode(unicode_or_utf8_string)
923
923
 
924
924
 
 
925
# TODO: jam 20070217 We start by just re-using safe_revision_id, but ultimately
 
926
#       we want to use a different dictionary cache, because trapping file ids
 
927
#       and revision ids in the same dict seemed to have a noticable effect on
 
928
#       performance.
 
929
safe_file_id = safe_revision_id
 
930
 
 
931
 
925
932
_platform_normalizes_filenames = False
926
933
if sys.platform == 'darwin':
927
934
    _platform_normalizes_filenames = True