1. Augie Fackler
  2. hgsubversion
Issue #286 new

replace env variable in config setting

maugustin
created an issue

In our setup we have many developer working with HG and a SVN server. It's usefull to have the logins replaced by names with email using the hgsubversion.authormap setting. Up to now this setting doesn't support environment variables within the pathname setting. e.g.

{{{ [hgsubversion] authormap = $DEV_HOME/config/authormap }}}

This syntax is working for e.g. %include in the same mercurial.ini/hgrc file. The attached patch add this variable evaluation.

Comments (2)

  1. Augie Fackler repo owner

    Look at Mercurial's expandpath logic - we should be able to use that. Also, can you email patch submissions to the google group using 'hg email' instead? It's much nicer for code reviews.

  2. Log in to comment