summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/cmd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryjfb2005-05-241-43/+143
| | | | | | | fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
* add some logging for `cvs -t' option use; ok joris@xsa2005-05-231-1/+4
|
* execute the command callback at the same time we are buildingjoris2005-05-201-13/+12
| | | | | | the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
* first part of file API changes:joris2005-04-251-2/+2
| | | | | | | | | | | | | | - 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@
* * add missing 'R' flag in diff synopsisjfb2005-04-251-8/+3
| | | | | | | * add the CVS_EX_BADROOT return code to indicate that there was no CVSROOT given or it was invalid ok joris, xsa
* remove debugging leftoversjfb2005-04-181-5/+1
|
* Modify the CVSFILE structure using a union to keep information aboutjfb2005-04-181-1/+5
| | | | | | | | | 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@
* cmd_helper() returns error codes > 0 or 0 on success.joris2005-04-131-2/+2
|
* use the new CVS_EX_* error codes here as well.joris2005-04-121-9/+9
|
* introduce our own set of error codes used by the commands to reportjoris2005-04-121-2/+2
| | | | | | what exactly went wrong in case of an error. ok jfb@
* don't include sysexits.h now we don't use those error codesjoris2005-04-111-2/+1
| | | | anymore.
* remove EX_USAGE error codesjoris2005-04-111-3/+3
| | | | ok jfb@
* first round of EX_* exit codes removal; ok joris@.xsa2005-04-031-11/+11
|
* make sure we don't do unneeded things for the version command.joris2005-04-011-1/+7
|
* make sure the server command can still be reached with thejoris2005-03-311-1/+9
| | | | | | new framework. ok xsa@
* - as long as we are using the sysexits.h error codes make surejoris2005-03-311-5/+7
| | | | | we handle them. - handle cmd_sendflags() when it fails.
* allow cmd_options to be NULL, so that commands whichjoris2005-03-291-5/+7
| | | | have no options will work fine.
* fix argument count in cvs_startcmd()joris2005-03-281-2/+2
| | | | ok jfb@
* add the first pieces of our new command framework.joris2005-03-241-0/+122
ok jfb@