tests/test-win32text.t
branchstable
changeset 12843 8aeb6184b008
parent 12494 f18fd371ecbd
child 12853 13984e96cb09
--- a/tests/test-win32text.t	Mon Oct 25 23:46:26 2010 +0200
+++ b/tests/test-win32text.t	Mon Oct 25 23:55:43 2010 +0200
@@ -390,8 +390,20 @@
   ** = cleverdecode:
   [encode]
   ** = cleverencode:
-  $ echo
-  
+
+Trigger deprecation warning:
+
+  $ hg id
+  win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
+  b910084e3c98+ tip
+
+Disable warning:
+
+  $ echo '[win32text]' >> .hg/hgrc
+  $ echo 'warn = no' >> .hg/hgrc
+  $ hg id
+  b910084e3c98+ tip
+
   $ rm f3 f4.bat bin
   $ hg co -C 2>&1 | python -c 'import sys, os; sys.stdout.write(sys.stdin.read().replace(os.getcwd(), "...."))'
   WARNING: f4.bat already has CRLF line endings