equal
deleted
inserted
replaced
98 @propertycache |
98 @propertycache |
99 def _ignore(self): |
99 def _ignore(self): |
100 files = [self._join('.hgignore')] |
100 files = [self._join('.hgignore')] |
101 for name, path in self._ui.configitems("ui"): |
101 for name, path in self._ui.configitems("ui"): |
102 if name == 'ignore' or name.startswith('ignore.'): |
102 if name == 'ignore' or name.startswith('ignore.'): |
103 files.append(os.path.expanduser(path)) |
103 files.append(util.expandpath(path)) |
104 return ignore.ignore(self._root, files, self._ui.warn) |
104 return ignore.ignore(self._root, files, self._ui.warn) |
105 |
105 |
106 @propertycache |
106 @propertycache |
107 def _slash(self): |
107 def _slash(self): |
108 return self._ui.configbool('ui', 'slash') and os.sep != '/' |
108 return self._ui.configbool('ui', 'slash') and os.sep != '/' |