Change 10497

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4convert/src/com/perforce
Request Review
Download .zip
New low-level RCS reader using a byte[] to manage CVS lines.
 

Designed to help with the processing of BINARY data in RCS files.  The line reading code still looks for a unix style '\n', but has a MAX LINE (hard coded to 10K).  The RcsObjectBlock uses a ByteArrayOutputStream to store lines and parsers uses byte logic.

(passes basic cvs/svn unit tests)
  • Files 8
  • Comments 0
6 edited 2 added 0 deleted
common/parser/LineReader.java#1
Loading...
cvs/asset/CvsContentReader.java#2
Loading...
cvs/asset/CvsContentStream.java#2
Loading...
cvs/parser/CvsLineReader.java#1
Loading...
cvs/parser/RcsDeltaAction.java#2
Loading...
cvs/parser/RcsReader.java#2
Loading...
cvs/parser/rcstypes/RcsObjectBlock.java#2
Loading...
svn/parser/SubversionReader.java#2
Loading...
Tip: Use n and p to cycle through the changes.