[PATCH 2 of 2] Treat extension load paths as relative to the defining hgrc
Jesse Glick
jesse.glick at sun.com
Mon Mar 3 11:43:00 CST 2008
Thomas Arendsen Hein wrote:
> the [paths] code looks relative to the repo root (or home)
That's not true. The path is resolved relative to the defining
configuration file. If I add
[paths]
foo = ../foo
to my ~/.hgrc and
cd /space/src/hg
hg paths
I see
foo = /home/jglick/../foo
So the new code is consistent with the existing semantics.
More information about the Mercurial-devel
mailing list