tests/test-win32text.t
branchstable
changeset 12853 13984e96cb09
parent 12843 8aeb6184b008
child 12977 a1a50567b5d2
equal deleted inserted replaced
12852:5dbff89cf107 12853:13984e96cb09
   391   [encode]
   391   [encode]
   392   ** = cleverencode:
   392   ** = cleverencode:
   393 
   393 
   394 Trigger deprecation warning:
   394 Trigger deprecation warning:
   395 
   395 
   396   $ hg id
   396   $ hg id -t
   397   win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
   397   win32text is deprecated: http://mercurial.selenic.com/wiki/Win32TextExtension
   398   b910084e3c98+ tip
   398   tip
   399 
   399 
   400 Disable warning:
   400 Disable warning:
   401 
   401 
   402   $ echo '[win32text]' >> .hg/hgrc
   402   $ echo '[win32text]' >> .hg/hgrc
   403   $ echo 'warn = no' >> .hg/hgrc
   403   $ echo 'warn = no' >> .hg/hgrc
   404   $ hg id
   404   $ hg id -t
   405   b910084e3c98+ tip
   405   tip
   406 
   406 
   407   $ rm f3 f4.bat bin
   407   $ rm f3 f4.bat bin
   408   $ 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(), "...."))'
   409   WARNING: f4.bat already has CRLF line endings
   409   WARNING: f4.bat already has CRLF line endings
   410   and does not need EOL conversion by the win32text plugin.
   410   and does not need EOL conversion by the win32text plugin.