mercurial/localrepo.py
changeset 37123 a8a902d7176e
parent 37087 f0b6fbea00cf
child 37138 ecac0006b90e
--- a/mercurial/localrepo.py	Sat Mar 24 15:09:33 2018 +0900
+++ b/mercurial/localrepo.py	Sat Mar 24 15:10:51 2018 +0900
@@ -65,6 +65,7 @@
     vfs as vfsmod,
 )
 from .utils import (
+    procutil,
     stringutil,
 )
 
@@ -1106,7 +1107,7 @@
                         params = cmd[len(name):].lstrip()
                         break
                 if not fn:
-                    fn = lambda s, c, **kwargs: util.filter(s, c)
+                    fn = lambda s, c, **kwargs: procutil.filter(s, c)
                 # Wrap old filters not supporting keyword arguments
                 if not pycompat.getargspec(fn)[2]:
                     oldfn = fn