--- a/tests/test-fileset.t Fri Mar 11 04:14:54 2016 +0900
+++ b/tests/test-fileset.t Fri Mar 11 04:14:54 2016 +0900
@@ -351,9 +351,10 @@
Test detection of unintentional 'matchctx.existing()' invocation
$ cat > $TESTTMP/existingcaller.py <<EOF
- > from mercurial import fileset
+ > from mercurial import registrar
>
- > @fileset.predicate('existingcaller()', callexisting=False)
+ > filesetpredicate = registrar.filesetpredicate()
+ > @filesetpredicate('existingcaller()', callexisting=False)
> def existingcaller(mctx, x):
> # this 'mctx.existing()' invocation is unintentional
> return [f for f in mctx.existing()]