Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 2387:62ce297f214f
Expand '~' in path to extensions.
author | Markus F.X.J. Oberhumer <markus@oberhumer.com> |
---|---|
date | Thu, 01 Jun 2006 15:53:43 -0700 |
parents | af81d8770620 |
children | 8d31c71e8148 |
line wrap: on
line diff
--- a/mercurial/ui.py Thu Jun 01 19:08:29 2006 +0200 +++ b/mercurial/ui.py Thu Jun 01 15:53:43 2006 -0700 @@ -142,7 +142,10 @@ yield parent def extensions(self): - return self.configitems("extensions") + ret = self.configitems("extensions") + for i, (k, v) in enumerate(ret): + if v: ret[i] = (k, os.path.expanduser(v)) + return ret def hgignorefiles(self): result = []