summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/watch.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move some global variables/statics to locals, from Michael Wnicm2011-12-271-4/+3
| | | | Bombardieri.
* Some conformance fixes:ragge2008-06-231-3/+3
| | | | | | | - Empty brackets forbidden in C99. - ? : and skipping middle argument is both disallowed and considered bad programming habit. OK ray@, xsa@.
* Replaced the unused cvs_command variable cmd_req with cmd_flags, which statestobias2008-01-311-3/+3
| | | | | | | | | | | if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
* Properly handle -R -- although it is default, it may be overwritten mit -ltobias2008-01-281-1/+3
| | | | | | | | in front of it. OK joris@, xsa@ > Diff from Igor Zinovik
* Added missing break statements.tobias2008-01-121-1/+2
| | | | | | OK xsa@ > Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>
* general includes cleanup sweep. ok joris@ niallo@otto2007-02-221-3/+3
|
* in a remote setup:joris2007-01-111-1/+3
| | | | | | | do not connect to the remote server until we are sure all the options passed to the commands are valid. noticed by xsa@
* add remote handler for the cvs watch command; not linked to the build.xsa2007-01-091-2/+136
|
* skeletons for the client-side part of the editors and watchers commands.xsa2007-01-021-0/+92
| | | | not linked to build.
* commit the new opencvs code, i have been hacking onjoris2006-05-271-255/+0
| | | | | | | | | | | | this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
* remove a metric buttload of excessive ()deraadt2006-04-141-10/+10
| | | | no binary change; ok ray
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-9/+2
|
* minor knf;xsa2005-12-311-10/+10
|
* major cleanup of the functions handling the remote cvs protocol.joris2005-12-301-34/+18
| | | | | | makes the code a lot more readable and understandable. ok xsa@ and niallo@
* switch to xmalloc stuff, me and xsa@ agreed on this a longjoris2005-12-101-8/+5
| | | | | | | | | time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
* add client support for the `watch' and `watchers' commands. ok joris@ xsa@moritz2005-10-171-15/+101
|
* - watchers remote handlerxsa2005-08-161-7/+47
| | | | | - consistency nitpicks ok joris
* KNF;xsa2005-07-251-6/+6
|
* remove trailing whitespacesjoris2005-07-071-18/+17
| | | | from deraadt@
* add descritpion of the watch/watchers commands;xsa2005-06-151-3/+3
|
* add some comments ..xsa2005-05-311-1/+5
|
* skeleton for watch{,ers} commands, not linked yet;xsa2005-05-301-0/+152
"i'm cool with that" joris@