[issue2101] make extension paths relative to hgrc location
Russ Cox
bugs at mercurial.selenic.com
Thu Mar 18 06:45:38 UTC 2010
New submission from Russ Cox <rsc at swtch.com>:
I use hg extensions specific to certain repositories,
and I keep the extensions in the repository.
If I'm editing /home/rsc/repo/.hg/hgrc then it would
be convenient if
[extensions]
mything = unrooted/path
meant to look for the path relative to the repo root,
that is, in /home/rsc/repo/unrooted/path.
Similarly it would be convenient if in /home/rsc/.hgrc it
meant relative to my home directory, so /home/rsc/unrooted/path.
It would also be useful if I could refer to environment
variables or the repository path from inside the config,
so that even if this behavior didn't exist (I still think
it should), I could write
[extensions]
mything = %reporoot%/unrooted/path
otherguy = $HOME/unrooted/path
----------
messages: 12071
nosy: rsc
priority: feature
status: unread
title: make extension paths relative to hgrc location
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2101>
____________________________________________________
More information about the Mercurial-devel
mailing list