Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 37123:a8a902d7176e
procutil: bulk-replace function calls to point to new module
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 24 Mar 2018 15:10:51 +0900 |
parents | f0b6fbea00cf |
children | ecac0006b90e |
line wrap: on
line diff
--- 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