diff tests/test-hgrc.out @ 11225:d6dbd5e4ee72

ui.username(): expand environment variables in username configuration value. note: expansion of config variables must be handled on a case-by-case basis because they can contain arbitrary data that may not be desirable to expand.
author Chad Dombrova <chadrik@gmail.com>
date Wed, 26 May 2010 14:03:29 -0700
parents f23f87462c18
children 037d910734de
line wrap: on
line diff
--- a/tests/test-hgrc.out	Wed May 26 14:03:29 2010 -0700
+++ b/tests/test-hgrc.out	Wed May 26 14:03:29 2010 -0700
@@ -10,6 +10,9 @@
 foo.bar=a\nb\nc\nde\nfg
 foo.baz=bif cb
 hg: config error at $HGRCPATH:1: cannot include /path/to/nowhere/no-such-file (No such file or directory)
+% username expansion
+John Doe
+ui.username=$FAKEUSER
 % customized hgrc
 read config from: .../.hgrc
 .../.hgrc:13: alias.log=log -g