Change 10774

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4convert
Request Review
Download .zip
CVS: Updated end of RCS content block detection.

An @ character at the end of the line followed by a blank line could fool the converter into exiting the block early.

Detection now uses original line with expanded @@ and counts odd/even.

Added test case 048
  • Files 8
  • Comments 0
3 edited 5 added 0 deleted
src/com/perforce/cvs/parser/RcsReader.java#7
Loading...
test/com/perforce/cvs/integration/CvsImportTests.java#27
Loading...
test/com/perforce/cvs/integration/CvsIntegrationTests.java#29
Loading...
test/com/perforce/cvs/integration/dumps/CVScluster01/end-file/file.txt,v#1
Loading...
test/com/perforce/cvs/integration/import/base/end-file/import/main/file.txt,d/1.1#1
Loading...
test/com/perforce/cvs/integration/import/base/end-file/jnl.sort#1
Loading...
test/com/perforce/cvs/integration/integ/base/end-file/import/main/file.txt,d/1.1#1
Loading...
test/com/perforce/cvs/integration/integ/base/end-file/jnl.0#1
Loading...
Tip: Use n and p to cycle through the changes.