mercurial/dirstate.py
changeset 9610 d78fe60f6bda
parent 9518 bc19a0b04e83
child 9678 e2b1de5fee04
--- a/mercurial/dirstate.py	Sat Oct 17 15:40:34 2009 +0200
+++ b/mercurial/dirstate.py	Mon Oct 19 22:19:28 2009 +0300
@@ -100,7 +100,7 @@
         files = [self._join('.hgignore')]
         for name, path in self._ui.configitems("ui"):
             if name == 'ignore' or name.startswith('ignore.'):
-                files.append(os.path.expanduser(path))
+                files.append(util.expandpath(path))
         return ignore.ignore(self._root, files, self._ui.warn)
 
     @propertycache