summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.c
AgeCommit message (Collapse)Author
2005-04-25resurrect missing parts to generate rcsdiff(1)-style diffs with the -nJean-Francois Brousseau
flag ok 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-22sync add command usage w/ man page; joris okXavier Santolaria
2005-04-22missing '-R' (force recursion) option for diff.Joris Vink
noticed by brad@
2005-04-21let the `cvs remove' command work with no file(s) specified as args;Xavier Santolaria
joris ok
2005-04-21* fix the tag command's synopsisJean-Francois Brousseau
* prepend __progname and the command string when displaying command usage
2005-04-20check the validity of tag names passed to the tag command, and printJean-Francois Brousseau
an abort message if the tag is invalid. also, match gnu cvs behaviour with regards to command usage output on usage errors. ok joris
2005-04-16snprintf return value check; joris okXavier Santolaria
2005-04-12don't show unneeded error messages.Joris Vink
2005-04-12tell about the CVS_EX_* error codes, as we do not use sysexits.h anymore;Xavier Santolaria
ok joris@.
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-06make cvs_findcmd() available to the rest of the programJean-Francois Brousseau
ok joris@
2005-04-03first round of EX_* exit codes removal; ok joris@.Xavier Santolaria
2005-03-31make sure the server command can still be reached with theJoris Vink
new framework. ok xsa@
2005-03-30move all the client commands to the new command framework.Joris Vink
eliminates a lot of duplicate code. ok jfb@
2005-03-24add the string table code and enable it on startupJean-Francois Brousseau
2005-03-24add the first pieces of our new command framework.Joris Vink
ok jfb@
2005-03-08make cvs_findcmd() and cvs_read_rcfile() static.Joris Vink
ok xsa@, jfb@
2005-03-06initial support for the admin command. Not all options are working yet.Joris Vink
ok xsa@ jfb@
2005-02-25exit with an error message if cvs_file_init() failsJean-Francois Brousseau
2005-02-03be more consistent everywhere with `-k mode' option;Xavier Santolaria
ok jfb@ jmc@ Joris Vink;
2005-01-24sync usage of some of the commands, and start filling the cmd_optsJean-Francois Brousseau
field, which will later be used as the argument to getopt() instead of hardcoding the option strings. This will allow us to use the same handler for commands which have a local and remote version (i.e. rdiff, rlog, rtag)
2005-01-24* use the global cvs_msg instead of our ownJean-Francois Brousseau
* support the use of RCS keyword expansion flags in client mode
2005-01-24add missing command IDsJean-Francois Brousseau
reviewed by xsa@ and Joris Vink
2005-01-14support the -D option to the tag command and sync usage for the tagJean-Francois Brousseau
command from Joris Vink, with modifications by me
2005-01-13resurrect the -N and -p options to the diff commandJean-Francois Brousseau
requested and tested by brad@, thanks!
2005-01-13more widespread use of cvs_msg, and free it when we are doneJean-Francois Brousseau
diff by Joris Vink and me
2005-01-13fix the annotate usage (there is no -F flag) and add the missing bitsJean-Francois Brousseau
so the -r and -f arguments are supported, and complain if both -D and -r are given. GNU CVS silently accepts to have both specified, but does not produce output as a result.
2005-01-06the status command now supports the same arguments as its gnu cvsJean-Francois Brousseau
counterpart (-lRv)
2005-01-06Improved and working import code from Joris Vink with modificationsJean-Francois Brousseau
from me (client mode only for the moment)
2004-12-22spelling corrections; ok jmc@David Krause
2004-12-21s/files/file/ in `cvs remove' usage, like in the other commands;Xavier Santolaria
2004-12-21gnu CVS has an undocumented -s command-line option to set a variable,Jean-Francois Brousseau
so let's support it too. This will also be required to implement the `Set' request handler.
2004-12-21on the way to `cvs remove'; ok jfbXavier Santolaria
2004-12-15print line number of warnings in .cvsrc; ok jfb@.Xavier Santolaria
2004-12-15Permit the client to generate trace output when the -t option is givenJean-Francois Brousseau
by using the LP_TRACE level to cvs_log(). Traces are filtered by default.
2004-12-14be more verbose for .cvsrc errors/warnings; ok jfb@.Xavier Santolaria
2004-12-14support the tag commandJean-Francois Brousseau
from Joris Vink
2004-12-13print full path of .cvsrc in log messages; jfb@ ok.Xavier Santolaria
2004-12-13sync SYNOPSIS and usage();Jason McIntyre
ok jfb@
2004-12-09support the 'annotate' command, will need some polishingJean-Francois Brousseau
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-07add missing parts for support of .cvsrcJean-Francois Brousseau
tested, tweaked by and ok djm@
2004-12-06add missing aliases for the status, tag, update and version commandsJean-Francois Brousseau
original patch from Peter Hessler, with additions by me
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-11-09* don't use the import code just yet, it uses new functions that aren'tkrapht
tested enough yet
2004-11-09* don't setup a signal handler for SIGCHLD yetkrapht
* ignore SIGPIPE * add the getopt() argument format to the command structure
2004-08-12After the command is done executing, if cvs_files isn't NULL, free theJean-Francois Brousseau
file structure