summaryrefslogtreecommitdiffstats
path: root/contrib/csup/rcsparse.c
Commit message (Collapse)AuthorAgeFilesLines
* - Move csup away from contrib/ and into usr.bin/. Software is no longerlulf2010-03-021-357/+0
| | | | | | contributed, and main development is happening in the FreeBSD repo. Suggested by: joel
* - Add proper error checking and printing to the CVSMode code when reading andlulf2009-03-251-1/+1
| | | | | | | writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. MFC after: 1 week
* - Update copyright.lulf2009-01-041-1/+1
|
* - Add an optimization when parsing rcsfiles when the intention is to only sendlulf2009-01-021-4/+7
| | | | | | details to the cvsup server. The deltatext does not need parsing, and some parts of the rcsfile data structure doesn't need to be set up. - Fix a bug where the RCS expansion mode is not written out.
* A few bugfixes:lulf2008-12-031-23/+26
| | | | | | | | | | | | | - Instead of including protocol info in diffs, strip them before adding deltatext and take this into account when applying the diff later. - Don't use strlen when the string in the RCS file may contain garbage. This got caught in the checksumming before, but was not fixed until now. Instead of using strlen, pass the token length when adding log and text entries to a delta. Add an extra length parameter to duptext() to record the token length. - When adding new branches to a file, add them in at the tail instead of the head of the list to get correct ordering when writing out. - Input stream when diffing was opened twice. - Don't expand keywords in diffs between deltas.
* - Refactor some parts of the code and increase code reuse.lulf2008-11-201-21/+14
| | | | | - Fix a lot of style issues remaining and old debugging output. - Update comments where needed.
* - Import csup work from p4.lulf2008-10-191-0/+358
OpenPOWER on IntegriCloud