Mercurial > hg
comparison mercurial/ui.py @ 2390:8d31c71e8148
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 01 Jun 2006 15:55:09 -0700 |
parents | 74d569332f8b 62ce297f214f |
children | 9b0747207925 |
comparison
equal
deleted
inserted
replaced
2389:609c56df709a | 2390:8d31c71e8148 |
---|---|
140 if self.parentui is not None: | 140 if self.parentui is not None: |
141 for parent in self.parentui.walkconfig(seen): | 141 for parent in self.parentui.walkconfig(seen): |
142 yield parent | 142 yield parent |
143 | 143 |
144 def extensions(self): | 144 def extensions(self): |
145 return self.configitems("extensions") | 145 ret = self.configitems("extensions") |
146 for i, (k, v) in enumerate(ret): | |
147 if v: ret[i] = (k, os.path.expanduser(v)) | |
148 return ret | |
146 | 149 |
147 def hgignorefiles(self): | 150 def hgignorefiles(self): |
148 ret = [] | 151 ret = [] |
149 for k, v in self.configitems("ui"): | 152 for k, v in self.configitems("ui"): |
150 if k == 'ignore' or k.startswith('ignore.'): | 153 if k == 'ignore' or k.startswith('ignore.'): |