summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/cmd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+2
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Added rdiff support. In order to do this, some output and option fixestobias2008-02-031-2/+2
| | | | | | had to be done for diff, too. OK joris@
* Added rannotate supporttobias2008-02-011-1/+2
| | | | OK xsa@
* Fixed cvs_findcmd I broke last time: cvs_findcmd is called during .cvsrctobias2008-01-211-7/+7
| | | | | | parsing and must have a local cmdp variable. > Spotted by Pierre Riteau.
* Added support for rtag in local and remote setups (with interoperabilitytobias2008-01-101-2/+2
| | | | | | with GNU cvs). Basically we already had rtag in place as tag is supposed to work with revisions in working directory, but our implementation was wrong. Fixed that on the fly as well.
* Simply the use of cmdp and cvs_command by zapping cvs_command and workingtobias2008-01-101-2/+1
| | | | | | | | solely with cmdp. This remedies some reliability issues with invalid commands supplied and also fixes a GNU cvs style incompatibility with release command. > Based on patch from Igor Zinovik
* remove unused extern variablechl2007-09-251-3/+1
| | | | ok joris@
* Removed dead code.tobias2007-09-041-17/+1
| | | | OK joris@, ray@
* Remove last bits about login and logout commands, which will never bexsa2007-06-271-7/+1
| | | | implemented anyway. OK ray@ niallo@.
* Bring back the release command. More work to be done though.xsa2007-06-261-2/+2
| | | | OK joris@ niallo@.
* add support for cvs rlog.niallo2007-06-261-2/+2
| | | | | | from Mickey. ok joris@ ray@
* first stab at history stuff for opencvs, currently only writesjoris2007-06-181-2/+2
| | | | | | to CVSROOT/history but cannot parse it yet with the 'history' command. "Commit it." ray@
* general includes cleanup sweep. ok joris@ niallo@otto2007-02-221-3/+4
|
* Fix const inconsistencies, void pointer artithmetic and a few otherotto2007-02-191-2/+2
| | | | things. now gcc -Wall and lint are more happy. ok joris@ xsa@
* client-side of the annotate command is usable, build it too.xsa2006-11-271-2/+2
|
* Bring back version command. Still needs tweaks to make thexsa2006-11-141-2/+2
| | | | gnu cvs client<->opencvs server setup work. Rest works fine.
* Add server-side bits for admin command.xsa2006-11-131-3/+3
|
* first part of opencvs remote, fairly useable on existing treesjoris2006-07-071-2/+2
| | | | | | | | | | | | | | although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t).
* bring back a working version of the `cvs init' command. OK joris@.xsa2006-06-121-2/+2
|
* bring back tag command; basic tag addition/deletion available. OK joris@.xsa2006-06-071-3/+3
|
* add support for the export command.joris2006-05-311-2/+2
| | | | | export does exactly the same as checkout except it does not create any administrative (CVS/) directories.
* hello import, only works for non-existing repositories right now,joris2006-05-301-2/+2
| | | | but work is in progress for importing stuff into existing repositories.
* add remove support, hacked by xsa@ but lots of modificationsjoris2006-05-291-2/+2
| | | | | | | from me to actually make it work properly. commiting since xsa@ is not around and i want to move forward. ray@ agrees.
* add basic 'cvs log' support.joris2006-05-281-1/+2
|
* enable basic add command, only works on files right now.joris2006-05-281-2/+2
|
* commit the new opencvs code, i have been hacking onjoris2006-05-271-194/+8
| | | | | | | | | | | | 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-13/+13
| | | | no binary change; ok ray
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-10/+2
|
* knfreyk2005-12-301-2/+3
|
* major cleanup of the functions handling the remote cvs protocol.joris2005-12-301-15/+10
| | | | | | 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-6/+3
| | | | | | | | | 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 very basic support for the following stuff:joris2005-12-031-1/+12
| | | | | | | | | | | | | | | | | | | | | - checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@
* - don't check for admin files when running init;joris2005-10-221-2/+3
| | | | | | | | - don't pass the Entry for newly added files to cvs_date_parse() - in rcs_rev_add don't bother looking for the previous rev if we are creating the RCS file. from PR 4575
* knf and spacing, ok joris@reyk2005-10-071-5/+9
|
* unbreak opencvs serverjoris2005-09-131-2/+3
| | | | ok xsa@
* make sure the administrative files that the commands depend on arejoris2005-09-071-4/+52
| | | | | | present before we try to continue. ok xsa@
* move trace message before calling cvs_connect();xsa2005-07-261-3/+3
|
* KNF;xsa2005-07-251-3/+3
|
* rewrite of the file code. the previous one was justjoris2005-07-231-12/+23
| | | | | | | | a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@
* <sys/param.h> is already included in "cvs.h", no need to duplicate;xsa2005-07-211-2/+1
|
* don't try to run the pruning function on server side.joris2005-07-081-2/+2
|
* remove trailing whitespacesjoris2005-07-071-2/+2
| | | | from deraadt@
* enable all commands; ok joris@.xsa2005-07-041-7/+1
|
* finish pruning support, this has been sittingjoris2005-06-141-1/+7
| | | | | | in my tree since c2k5 ok xsa@
* move the CVSROOT check earlier in the process, this way we get thexsa2005-06-131-4/+4
| | | | CVSROOT checked before the commands are run ... ok joris@.
* don't forget to call cvs_disconnect() at the endjoris2005-06-071-1/+4
| | | | | | of a remote connection. ok xsa@
* handle commands which do not have any init callback a bitjoris2005-06-021-4/+5
| | | | | | better, eliminates the use of dummy functions. OK jfb@
* headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;xsa2005-05-311-5/+4
|
* no need to check cvs_trace before outputting a trace, the log codejfb2005-05-251-3/+3
| | | | does it for us
* remove debugging messagesjfb2005-05-241-4/+1
|