view tests/test-convert-svn-startrev.out @ 10715:83dce0f817f4

add a small test for contrib/check-code.py This changeset adds a test file for contrib/check-code.py. This test runs check-code.py against two small files. The first file should not raise any check-code.py error while the second should. A line contains multiple errors to verify the check-code.py behaviour: In the case of multiple errors at the same line, the context line should only be displayed once.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 16 Mar 2010 19:52:55 +0100
parents 90d8dfb481e7
children
line wrap: on
line source

% convert before branching point
initializing destination A-r3-hg repository
scanning source...
sorting...
converting...
3 removeb
2 changeaa
1 branch, changeaaa
0 addc,changeaaaa
o  3 addc,changeaaaa files: a c
|
o  2 branch, changeaaa files: a
|
o  1 changeaa files: a
|
o  0 removeb files: a


% convert before branching point
initializing destination A-r4-hg repository
scanning source...
sorting...
converting...
2 changeaa
1 branch, changeaaa
0 addc,changeaaaa
o  2 addc,changeaaaa files: a c
|
o  1 branch, changeaaa files: a
|
o  0 changeaa files: a


% convert at branching point
initializing destination A-r5-hg repository
scanning source...
sorting...
converting...
1 branch, changeaaa
0 addc,changeaaaa
o  1 addc,changeaaaa files: a c
|
o  0 branch, changeaaa files: a


% convert last revision only
initializing destination A-r6-hg repository
scanning source...
sorting...
converting...
0 addc,changeaaaa
o  0 addc,changeaaaa files: a c