Mercurial > hg
view tests/test-mq-symlinks.out @ 7069:852f39691a0a
Eliminate normpath from foldmap calls.
Normcase already takes care of upper/lower case and /->\ conversions.
What's left for normpath is folding of a/../a sequences but this should
be either done consistently on both non-folding and folding code path
or not at all, otherwise we are introducing inconsistent behavior between the
two that has nothing to do with case folding.
Second argument against it - normpath being pure Python function is very slow -
as much as 50% of time is spend just inside normpath call on my repository.
author | Petr Kodl <petrkodl@gmail.com> |
---|---|
date | Tue, 30 Sep 2008 17:23:08 -0400 |
parents | f6c520fd70cf |
children | 49f34b43cf90 |
line wrap: on
line source
a -> a not a symlink a -> b Now at: base.patch applying symlink.patch Now at: symlink.patch a -> b