"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/test-unified-test.t" between
mercurial-5.8.tar.gz and mercurial-5.8.1.tar.gz

About: Mercurial is a Source (Version) Control Management system designed for efficient handling of very large distributed projects.

test-unified-test.t  (mercurial-5.8):test-unified-test.t  (mercurial-5.8.1)
skipping to change at line 80 skipping to change at line 80
#if windows #if windows
$ printf 'crlf\r\ncr\r\tcrlf\r\ncrlf\r\n' $ printf 'crlf\r\ncr\r\tcrlf\r\ncrlf\r\n'
crlf crlf
cr\r (no-eol) (esc) cr\r (no-eol) (esc)
\tcrlf (esc) \tcrlf (esc)
crlf\r (esc) crlf\r (esc)
#endif #endif
Escapes: Escapes:
$ $PYTHON -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\xff ")' $ "$PYTHON" -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\x ff")'
\xff (no-eol) (esc) \xff (no-eol) (esc)
Escapes with conditions: Escapes with conditions:
$ $PYTHON -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\xff ")' $ "$PYTHON" -c 'from mercurial.utils.procutil import stdout; stdout.write(b"\x ff")'
\xff (no-eol) (esc) (true !) \xff (no-eol) (esc) (true !)
Combining esc with other markups - and handling lines ending with \r instead of \n: Combining esc with other markups - and handling lines ending with \r instead of \n:
$ printf 'foo/bar\r' $ printf 'foo/bar\r'
fo?/bar\r (no-eol) (glob) (esc) fo?/bar\r (no-eol) (glob) (esc)
#if windows #if windows
$ printf 'foo\\bar\r' $ printf 'foo\\bar\r'
foo/bar\r (no-eol) (esc) foo/bar\r (no-eol) (esc)
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)