##// END OF EJS Templates
tests: test/silence win32text deprecation warning
Martin Geisler -
r12843:8aeb6184 stable
parent child Browse files
Show More
@@ -900,6 +900,11 b' With win32text'
900 $ echo '[patch]' >> .hg/hgrc
900 $ echo '[patch]' >> .hg/hgrc
901 $ echo 'eol = crlf' >> .hg/hgrc
901 $ echo 'eol = crlf' >> .hg/hgrc
902
902
903 Ignore win32text deprecation warning for now:
904
905 $ echo '[win32text]' >> .hg/hgrc
906 $ echo 'warn = no' >> .hg/hgrc
907
903 $ echo d >> subdir/f1
908 $ echo d >> subdir/f1
904 $ hg record -d '23 0' -mw1 <<EOF
909 $ hg record -d '23 0' -mw1 <<EOF
905 > y
910 > y
@@ -390,8 +390,20 b' and now for something completely differe'
390 ** = cleverdecode:
390 ** = cleverdecode:
391 [encode]
391 [encode]
392 ** = cleverencode:
392 ** = cleverencode:
393 $ echo
393
394
394 Trigger deprecation warning:
395
396 $ hg id
397 win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
398 b910084e3c98+ tip
399
400 Disable warning:
401
402 $ echo '[win32text]' >> .hg/hgrc
403 $ echo 'warn = no' >> .hg/hgrc
404 $ hg id
405 b910084e3c98+ tip
406
395 $ rm f3 f4.bat bin
407 $ rm f3 f4.bat bin
396 $ hg co -C 2>&1 | python -c 'import sys, os; sys.stdout.write(sys.stdin.read().replace(os.getcwd(), "...."))'
408 $ hg co -C 2>&1 | python -c 'import sys, os; sys.stdout.write(sys.stdin.read().replace(os.getcwd(), "...."))'
397 WARNING: f4.bat already has CRLF line endings
409 WARNING: f4.bat already has CRLF line endings
General Comments 0
You need to be logged in to leave comments. Login now