summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.c
AgeCommit message (Collapse)Author
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-08-10fgets() expects the 2nd arg to be an int. OK jfb@ joris@.Xavier Santolaria
2005-08-10add global -w option and document it; ok jmc jorisXavier Santolaria
2005-08-10use correct return codes when we exit(); ok jorisXavier Santolaria
2005-08-09add missing [-T tmpdir] in usage(), spotted by jmc@.Xavier Santolaria
2005-08-04handle TMPDIR environment variable as well as -T <tmpdir> global option;Xavier Santolaria
Ok jfb@ joris@.
2005-08-03check only once for the HOME environment variable and reuseXavier Santolaria
its value (if any) to check for the .cvsrc and .cvsignore files; ok jfb@ joris@.
2005-08-01respect $HOME when checking for .cvsrc; ok jfb@ joris@.Xavier Santolaria
2005-07-30add missing -r in usage();Xavier Santolaria
2005-07-28respect CVSREAD env. variable; ok jfb@.Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-07-24some more `if (!var)' cleanup;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-07remove trailing whitespacesJoris Vink
from deraadt@
2005-06-16match gnu/usr.bin/cvs error msg output on bad CVSROOT error; ok jorisXavier Santolaria
2005-06-10allow comments in the cvsrc file.Joris Vink
reported by david@
2005-06-01missed these in previous commits.Joris Vink
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
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 -n flag to cvs usageJoris Vink
ok jfb@
2005-05-20first bits of the `cvs -n' option; ok jfb jorisXavier Santolaria
2005-05-19- add missing flags for the log commandXavier Santolaria
- enable the -h -N -R -t options ok joris
2005-05-18add `dir' arg in release cmd synopsis;Xavier Santolaria
2005-05-17enable `release' command; tested & ok joris@.Xavier Santolaria
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