diff hgsubversion/maps.py @ 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 ab372e38fb6c
children 09f7c1c09207
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