[issue2412] hgrc [paths] expands variables after determining whether the path is relative or absolute

Justin Lebar bugs at mercurial.selenic.com
Sat Oct 2 06:17:25 UTC 2010


New submission from Justin Lebar <justin.lebar at gmail.com>:

If my repository is at /home/jlebar/repo and I specify

[paths]
default=$HOME/foo

in /home/jlebar/repo/.hg/hgrc, hg will try to push to
/home/jlebar/repo/home/jlebar/foo.  If instead I specify

[paths]
default=/$HOME/foo

this works properly (well, it pushes to //home/jlebar/foo, which is good
enough).

----------
messages: 13813
nosy: jlebar
priority: bug
status: unread
title: hgrc [paths] expands variables after determining whether the path is relative or absolute

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2412>
____________________________________________________


More information about the Mercurial-devel mailing list