summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cmd.c
AgeCommit message (Collapse)Author
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
2005-05-23add some logging for `cvs -t' option use; ok joris@Xavier Santolaria
2005-05-20execute the command callback at the same time we are buildingJoris Vink
the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
2005-04-25first part of file API changes:Joris Vink
- fix our behaviour regarding directories or files in a different directory than we currently are as arguments to commands, this allows stuff like "cvs status sys/arch/i386/Makefile" to work. - when parsing a pathname only load the needed nodes of the path instead of loading *everything* in memory. the next step in this is to merge the collection and callback execution together. ok jfb@, xsa@
2005-04-25* add missing 'R' flag in diff synopsisJean-Francois Brousseau
* add the CVS_EX_BADROOT return code to indicate that there was no CVSROOT given or it was invalid ok joris, xsa
2005-04-18remove debugging leftoversJean-Francois Brousseau
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@
2005-04-13cmd_helper() returns error codes > 0 or 0 on success.Joris Vink
2005-04-12use the new CVS_EX_* error codes here as well.Joris Vink
2005-04-12introduce our own set of error codes used by the commands to reportJoris Vink
what exactly went wrong in case of an error. ok jfb@
2005-04-11don't include sysexits.h now we don't use those error codesJoris Vink
anymore.
2005-04-11remove EX_USAGE error codesJoris Vink
ok jfb@
2005-04-03first round of EX_* exit codes removal; ok joris@.Xavier Santolaria
2005-04-01make sure we don't do unneeded things for the version command.Joris Vink
2005-03-31make sure the server command can still be reached with theJoris Vink
new framework. ok xsa@
2005-03-31- as long as we are using the sysexits.h error codes make sureJoris Vink
we handle them. - handle cmd_sendflags() when it fails.
2005-03-29allow cmd_options to be NULL, so that commands whichJoris Vink
have no options will work fine.
2005-03-28fix argument count in cvs_startcmd()Joris Vink
ok jfb@
2005-03-24add the first pieces of our new command framework.Joris Vink
ok jfb@