Mercurial > hg
view tests/blacklists/inotify-failures @ 20661:7e627fe63e5e stable
templater: avoid recursive evaluation of string literals completely
Changeset 3d8bfe2ecf6d (released with 2.8.1) fixed "recursively
evaluate string literals as templates" problem (issue4103) by
introducing "_evalifliteral()".
But some parts in template expressions below are still processed by
the combination of "compiletemplate()" and "runtemplate()", and may
cause same problem unexpectedly.
- 'init' and 'hang' of 'fill(text, width, init, hang)'
- 'expr' of 'sub(pat, repl, expr)'
- 'label' of 'label(label, expr)'
This patch processes them by "_evalifliteral()" instead of the
combination of "compiletemplate()" and "runtemplate()" to avoid
recursive evaluation of string literals completely.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 10 Mar 2014 01:01:42 +0900 |
parents | 3afb61810680 |
children |
line wrap: on
line source
# When --inotify is activated, help output and config changes: test-debugcomplete test-empty test-fncache test-globalopts test-help test-hgrc test-inherit-mode test-qrecord test-strict # --inotify activates de facto the inotify extension. It does not play well # with inotify-specific tests, which activate/deactivate inotify at will: test-inotify test-inotify-debuginotify test-inotify-dirty-dirstate test-inotify-issue1208 test-inotify-issue1371 test-inotify-issue1542 test-inotify-issue1556 test-inotify-lookup