summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.c
AgeCommit message (Collapse)Author
2006-06-02various spelling fixesDavid Krause
2006-05-30nuke cvs_repo_base variableJoris Vink
2006-05-27lets be nice and abort cvs when we find out there isJoris Vink
no CVSROOT directory where there is suppose to be one.
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.
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-04-05Use variable names for sizeof, remove casts in front of xmalloc,Ray Lai
use xcalloc and xstrdup where appropriate, and other stuff. OK joris@
2006-03-15bogus idiomTheo de Raadt
2006-01-29spread some fatal() here too;Xavier Santolaria
2006-01-26strings cleanup; OK niallo@.Xavier Santolaria
2006-01-23print complete command name in usage, not aliases.Xavier Santolaria
2006-01-02- nuke remaining err(), errx() and warnx() instances.Xavier Santolaria
- make cvs_log_init() return type void. ok joris@.
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-19use fatal() if getpwuid() fails; OK joris@.Xavier Santolaria
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-03fix date handling in opencvs, this was broken since the very start.Joris Vink
now, when you checkout a tree with gnu cvs, opencvs no longer sees all the files as modified, and visa versa. this actually makes gnu cvs and opencvs dance together in working copies.
2005-11-12- remove strtab stuff. serves no useful purpose.Niall O'Higgins
diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
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