equal
deleted
inserted
replaced
146 |
146 |
147 @rootcache('.hgignore') |
147 @rootcache('.hgignore') |
148 def _ignore(self): |
148 def _ignore(self): |
149 files = self._ignorefiles() |
149 files = self._ignorefiles() |
150 if not files: |
150 if not files: |
151 return matchmod.never(self._root, '') |
151 return matchmod.never() |
152 |
152 |
153 pats = ['include:%s' % f for f in files] |
153 pats = ['include:%s' % f for f in files] |
154 return matchmod.match(self._root, '', [], pats, warn=self._ui.warn) |
154 return matchmod.match(self._root, '', [], pats, warn=self._ui.warn) |
155 |
155 |
156 @propertycache |
156 @propertycache |