ie when calling hg from the root of a repository. This is a common
thing to do in tools, so worth optimizing. Running hg files > /tmp/a
from the root of mozilla-central on linux:
before:
real 0m1,510s
user 0m1,387s
sys 0m0,090s
after:
real 0m1,266s
user 0m1,165s
sys 0m0,073s
(there are 280k paths, so relativization was costing ~1us per path
somehow)