diff tests/test-win32text @ 7226:b71a52f101dc

Make it possible to disable filtering for a pattern. Rationale: Apparently there were no way to disable for example win32text extension locally. RFC: Can it already be done another way?
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 14 Oct 2008 21:28:49 +0200
parents 653ddd1d7cd7
children 441dc7becd43
line wrap: on
line diff
--- a/tests/test-win32text	Tue Oct 21 17:47:49 2008 +0200
+++ b/tests/test-win32text	Tue Oct 14 21:28:49 2008 +0200
@@ -113,3 +113,19 @@
 hg revert -a
 hg st -q
 python print.py < linefeed
+
+echo "# disable extension again"
+echo '[decode]' >> .hg/hgrc
+echo '** = !' >> .hg/hgrc
+echo '[encode]' >> .hg/hgrc
+echo '** = !' >> .hg/hgrc
+cat .hg/hgrc
+echo
+
+rm f3 f4.bat bin
+hg co 2>&1 | python -c 'import sys, os; sys.stdout.write(sys.stdin.read().replace(os.getcwd(), "...."))'
+python print.py < bin
+python print.py < f3
+python print.py < f4.bat
+echo
+