~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/osutils.py

Merge cleanup into reports-conflict-resolved

Show diffs side-by-side

added added

removed removed

Lines of Context:
967
967
    # they tend to happen very early in startup when we can't check config
968
968
    # files etc, and also we want to report all failures but not spam the user
969
969
    # with 10 warnings.
970
 
    from bzrlib import trace
971
970
    exception_str = str(exception)
972
971
    if exception_str not in _extension_load_failures:
973
972
        trace.mutter("failed to load compiled extension: %s" % exception_str)
1875
1874
        s = os.stat(src)
1876
1875
        chown(dst, s.st_uid, s.st_gid)
1877
1876
    except OSError, e:
1878
 
        trace.warning("Unable to copy ownership from '%s' to '%s': IOError: %s." % (src, dst, e))
 
1877
        trace.warning(
 
1878
            'Unable to copy ownership from "%s" to "%s". '
 
1879
            'You may want to set it manually.', src, dst)
 
1880
        trace.log_exception_quietly()
1879
1881
 
1880
1882
 
1881
1883
def path_prefix_key(path):