mercurial/dirstate.py
changeset 32605 e6ff007e107e
parent 32550 b98199a5c3e1
child 32682 e696f597d02f
--- a/mercurial/dirstate.py	Wed May 31 11:41:54 2017 -0700
+++ b/mercurial/dirstate.py	Thu Jun 01 00:40:52 2017 -0700
@@ -232,7 +232,7 @@
     def _ignore(self):
         files = self._ignorefiles()
         if not files:
-            return util.never
+            return matchmod.never(self._root, '')
 
         pats = ['include:%s' % f for f in files]
         return matchmod.match(self._root, '', [], pats, warn=self._ui.warn)