diff -r ff5b6fca1082 -r 5d9749c598f0 tests/test-fileset.t --- a/tests/test-fileset.t Sat Jun 09 19:55:10 2018 +0900 +++ b/tests/test-fileset.t Sat Jun 09 22:31:51 2018 +0900 @@ -448,27 +448,6 @@ mixed unknown -Test detection of unintentional 'matchctx.existing()' invocation - - $ cat > $TESTTMP/existingcaller.py < from mercurial import registrar - > - > filesetpredicate = registrar.filesetpredicate() - > @filesetpredicate(b'existingcaller()', callexisting=False) - > def existingcaller(mctx, x): - > # this 'mctx.existing()' invocation is unintentional - > existing = set(mctx.existing()) - > return mctx.predicate(existing.__contains__, cache=False) - > EOF - - $ cat >> .hg/hgrc < [extensions] - > existingcaller = $TESTTMP/existingcaller.py - > EOF - - $ fileset 'existingcaller()' 2>&1 | tail -1 - *ProgrammingError: *unexpected existing() invocation* (glob) - Test 'revs(...)' ================