changeset 818:9aed3bfc92d6

authormap: expand environment variables when evaluating map path
author maugustin <maugustin@gmx.net>
date Wed, 06 Jul 2011 07:55:14 -0500
parents 3b613d32ef11
children e30ff6d5feff
files hgsubversion/maps.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/maps.py
+++ b/hgsubversion/maps.py
@@ -34,6 +34,8 @@ class AuthorMap(dict):
 
     def load(self, path):
         ''' Load mappings from a file at the specified path. '''
+
+        path = os.path.expandvars(path)
         if not os.path.exists(path):
             return