changeset 11225 | d6dbd5e4ee72 |
parent 11036 | 4efdccaca21d |
child 11302 | e1dde7363601 |
--- a/mercurial/ui.py Wed May 26 14:03:29 2010 -0700 +++ b/mercurial/ui.py Wed May 26 14:03:29 2010 -0700 @@ -266,6 +266,8 @@ user = os.environ.get("HGUSER") if user is None: user = self.config("ui", "username") + if user is not None: + user = os.path.expandvars(user) if user is None: user = os.environ.get("EMAIL") if user is None and self.configbool("ui", "askusername"):