summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cmd.c
AgeCommit message (Collapse)Author
2008-02-03Added rdiff support. In order to do this, some output and option fixesTobias Stoeckmann
had to be done for diff, too. OK joris@
2008-02-01Added rannotate supportTobias Stoeckmann
OK xsa@
2008-01-21Fixed cvs_findcmd I broke last time: cvs_findcmd is called during .cvsrcTobias Stoeckmann
parsing and must have a local cmdp variable. > Spotted by Pierre Riteau.
2008-01-10Added support for rtag in local and remote setups (with interoperabilityTobias Stoeckmann
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.
2008-01-10Simply the use of cmdp and cvs_command by zapping cvs_command and workingTobias Stoeckmann
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
2007-09-25remove unused extern variableCharles Longeau
ok joris@
2007-09-04Removed dead code.Tobias Stoeckmann
OK joris@, ray@
2007-06-27Remove last bits about login and logout commands, which will never beXavier Santolaria
implemented anyway. OK ray@ niallo@.
2007-06-26Bring back the release command. More work to be done though.Xavier Santolaria
OK joris@ niallo@.
2007-06-26add support for cvs rlog.Niall O'Higgins
from Mickey. ok joris@ ray@
2007-06-18first stab at history stuff for opencvs, currently only writesJoris Vink
to CVSROOT/history but cannot parse it yet with the 'history' command. "Commit it." ray@
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
2006-11-27client-side of the annotate command is usable, build it too.Xavier Santolaria
2006-11-14Bring back version command. Still needs tweaks to make theXavier Santolaria
gnu cvs client<->opencvs server setup work. Rest works fine.
2006-11-13Add server-side bits for admin command.Xavier Santolaria
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
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).
2006-06-12bring back a working version of the `cvs init' command. OK joris@.Xavier Santolaria
2006-06-07bring back tag command; basic tag addition/deletion available. OK joris@.Xavier Santolaria
2006-05-31add support for the export command.Joris Vink
export does exactly the same as checkout except it does not create any administrative (CVS/) directories.
2006-05-30hello import, only works for non-existing repositories right now,Joris Vink
but work is in progress for importing stuff into existing repositories.
2006-05-29add remove support, hacked by xsa@ but lots of modificationsJoris Vink
from me to actually make it work properly. commiting since xsa@ is not around and i want to move forward. ray@ agrees.
2006-05-28add basic 'cvs log' support.Joris Vink
2006-05-28enable basic add command, only works on files right now.Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
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.
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
no binary change; ok ray
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30knfReyk Floeter
2005-12-30major cleanup of the functions handling the remote cvs protocol.Joris Vink
makes the code a lot more readable and understandable. ok xsa@ and niallo@
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
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@
2005-12-03add very basic support for the following stuff:Joris Vink
- 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@
2005-10-22- don't check for admin files when running init;Joris Vink
- 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
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-09-13unbreak opencvs serverJoris Vink
ok xsa@
2005-09-07make sure the administrative files that the commands depend on areJoris Vink
present before we try to continue. ok xsa@
2005-07-26move trace message before calling cvs_connect();Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-07-23rewrite of the file code. the previous one was justJoris Vink
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@
2005-07-21<sys/param.h> is already included in "cvs.h", no need to duplicate;Xavier Santolaria
2005-07-08don't try to run the pruning function on server side.Joris Vink
2005-07-07remove trailing whitespacesJoris Vink
from deraadt@
2005-07-04enable all commands; ok joris@.Xavier Santolaria
2005-06-14finish pruning support, this has been sittingJoris Vink
in my tree since c2k5 ok xsa@
2005-06-13move the CVSROOT check earlier in the process, this way we get theXavier Santolaria
CVSROOT checked before the commands are run ... ok joris@.
2005-06-07don't forget to call cvs_disconnect() at the endJoris Vink
of a remote connection. ok xsa@
2005-06-02handle commands which do not have any init callback a bitJoris Vink
better, eliminates the use of dummy functions. OK jfb@
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-25no need to check cvs_trace before outputting a trace, the log codeJean-Francois Brousseau
does it for us
2005-05-24remove debugging messagesJean-Francois Brousseau
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris