Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Move csup away from contrib/ and into usr.bin/. Software is no longer | lulf | 2010-03-02 | 64 | -20946/+0 |
| | | | | | | contributed, and main development is happening in the FreeBSD repo. Suggested by: joel | ||||
* | - Add support for CVSup authentication mechanisms to csup. | lulf | 2010-02-02 | 10 | -57/+745 |
| | | | | | | | | | - Include a cpasswd script performing the same mechanisms as the cvpasswd utility from CVSup. PR: bin/114129 Submitted by: Petar Zhivkov Petrov <pesho.petrov -at- gmail.com> MFC after: 1 month | ||||
* | - Remove semicolon that should not have been there. | lulf | 2009-06-12 | 1 | -1/+1 |
| | | | | | Submitted by: rdivacky MFC after: 1 week | ||||
* | - Add missing data argument to printf. | lulf | 2009-06-01 | 1 | -1/+1 |
| | | | | | Submitted by: Pawel Worach <pawel.worach -AT- gmail.com> MFC after: 1 week | ||||
* | - Add proper error checking and printing to the CVSMode code when reading and | lulf | 2009-03-25 | 4 | -74/+145 |
| | | | | | | | writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. MFC after: 1 week | ||||
* | - Remember to set umask before setting attributes of RCS file. | lulf | 2009-03-25 | 1 | -0/+1 |
| | | | | | Tested by: dougb MFC after: 2 days | ||||
* | - Try to handle rcsfile write failures in the same way as cvsup, as they are not | lulf | 2009-03-06 | 1 | -1/+1 |
| | | | | | necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred. | ||||
* | - Do not free the pattern lists immediately after use, as they might be needed | lulf | 2009-02-15 | 1 | -6/+0 |
| | | | | | | | | again in case the connection is interrupted and csup have to reconnect. The lists will be freed after the collection has been completely processed. PR: bin/131477 Tested by: dchagin | ||||
* | - Fix an issue where file attributes were not installed correctly during a Touch | lulf | 2009-02-09 | 1 | -1/+3 |
| | | | | | and SetAttrs operation. - SetAttrs and Touch were incorrectly switched. | ||||
* | - Update manpage now that cvs mode is supported. | lulf | 2009-01-07 | 1 | -2/+0 |
| | |||||
* | - Sort children branches by revision number rather than by date since a few RCS | lulf | 2009-01-04 | 1 | -1/+1 |
| | | | | files have the wrong date. | ||||
* | - Update copyright. | lulf | 2009-01-04 | 7 | -7/+7 |
| | |||||
* | - Try to match style(9). | lulf | 2009-01-04 | 3 | -47/+35 |
| | | | | - Remove old comments. | ||||
* | - Use a LIST to hold branches instead of a STAILQ. | lulf | 2009-01-03 | 1 | -11/+37 |
| | | | | - Sort branches when inserting them. | ||||
* | - Write out branches with the highest revision number first if they have the | lulf | 2009-01-03 | 1 | -2/+2 |
| | | | | same date. | ||||
* | - A bit missing from the previous commit. The '@'s from the string token must be | lulf | 2009-01-03 | 1 | -0/+4 |
| | | | | stripped before encoding the expansion mode. | ||||
* | - Add an optimization when parsing rcsfiles when the intention is to only send | lulf | 2009-01-02 | 6 | -17/+36 |
| | | | | | | 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. | ||||
* | - Disable rsync support for now, as it is not fully working. | lulf | 2009-01-02 | 1 | -0/+1 |
| | |||||
* | - Fattrs are not used for rsync, so remove unused code. | lulf | 2009-01-02 | 1 | -3/+1 |
| | |||||
* | - Check for NULL in case fattr_frompath fails. | lulf | 2009-01-02 | 1 | -1/+1 |
| | |||||
* | - Fix a wrong flag check. | lulf | 2008-12-21 | 1 | -1/+1 |
| | |||||
* | - Add missing printout information when appending file. | lulf | 2008-12-10 | 1 | -0/+1 |
| | | | | Submitted by: naddy | ||||
* | - Check return value of the encoded keyword before using it. | lulf | 2008-12-09 | 1 | -4/+8 |
| | | | | Pointed out by: Christian Weisgerber <naddy -at- mips.inka.de> | ||||
* | A few bugfixes: | lulf | 2008-12-03 | 5 | -47/+49 |
| | | | | | | | | | | | | | - 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. | ||||
* | - Print out information about what file that is edited before it is edited | lulf | 2008-12-02 | 1 | -4/+4 |
| | | | | instead of after. | ||||
* | - Fix a bug where deltas was not sorted on RCS dates _and_ revision number. | lulf | 2008-12-02 | 1 | -1/+1 |
| | |||||
* | - Fix a bug in csup where SKIP is not obeyed when sending collection | lulf | 2008-11-26 | 1 | -0/+2 |
| | | | | information. | ||||
* | - Make sure comparisons are done on file types as well. | lulf | 2008-11-23 | 2 | -8/+22 |
| | | | | | | | - Handle the case where a repository may have been copied, and the symlinks have not been preserved. CVSup removes the files and creates the symlinks, so enable this behaviour in csup as well. - While there, fix comments and style issues. | ||||
* | - Add support for reading RCS info from status file to avoid having to detail a | lulf | 2008-11-23 | 1 | -20/+79 |
| | | | | file if it is up to date. | ||||
* | - Refactor some parts of the code and increase code reuse. | lulf | 2008-11-20 | 15 | -466/+253 |
| | | | | | - Fix a lot of style issues remaining and old debugging output. - Update comments where needed. | ||||
* | - Add support for 'X' and 'x' commands in CVSup protocol. These commands are not | lulf | 2008-11-20 | 1 | -28/+45 |
| | | | | often used, but were quite simple to implement anyway. | ||||
* | - Fix build with GNU make. | lulf | 2008-11-20 | 5 | -15/+18 |
| | | | | | | - Fix compiler warnings and symbol overlaps. - Don't build code that is not used yet. - Fix types and format strings. | ||||
* | - Fix issues that prevented rsync support from working. | lulf | 2008-11-20 | 2 | -2/+2 |
| | |||||
* | A few general bugfixes: | lulf | 2008-11-19 | 4 | -13/+12 |
| | | | | | | | - Use internal xmalloc instead of malloc. - Include missing header after warnings. - Fix unneeded printouts. - Fix a bug when checking the CO_NORSYNC flag. | ||||
* | - Fixup the rcs revision comparing to be correct this time. | lulf | 2008-11-19 | 1 | -18/+35 |
| | |||||
* | - Fix idiotic rcsnum_cmp and compare the revision numbers without allocating any | lulf | 2008-11-12 | 1 | -38/+18 |
| | | | | memory. | ||||
* | - Implement rsync support in csup, which is chosen as a protocol for regular | lulf | 2008-10-25 | 6 | -13/+469 |
| | | | | | | | files if the client supports it. The support is implemented with an API to operate on files, calculating the rolling checksum and md5 checksum for the blocks etc. - Remove unneeded stream_filter_stop and stream_flush before stream_close. | ||||
* | - Implement support for retrieving a size_t type from the protocol stream. | lulf | 2008-10-25 | 2 | -0/+21 |
| | |||||
* | - Add size_t format specifier to proto_printf. | lulf | 2008-10-25 | 1 | -0/+6 |
| | |||||
* | - Import csup work from p4. | lulf | 2008-10-19 | 25 | -65/+6386 |
| | |||||
* | Fix a compiler warning. | jb | 2007-11-18 | 1 | -1/+1 |
| | |||||
* | Fix a typo that caused the #undef directive to not actually undefine | mux | 2007-05-19 | 1 | -1/+1 |
| | | | | | | | the correct symbol, thus causing a warning with GCC 4.2.0. Committed into the vendor branch since this is already in the csup repository. Reported by: kan (ages ago) | ||||
* | Import the latest snapshot of csup (20060313). | mux | 2006-03-14 | 18 | -237/+777 |
| | |||||
* | Import today's csup sources to get the warning fix for queue.h. We | mux | 2006-03-03 | 2 | -2/+2 |
| | | | | | probably want to do something similar in sys/queue.h; it's bad to have STAILQ_LAST() generate GCC warnings. | ||||
* | Initial import of csup. | mux | 2006-03-03 | 49 | -0/+12927 |