summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/admin.c
AgeCommit message (Collapse)Author
2008-02-04Added -k flag support for all commands which support it.Tobias Stoeckmann
OK joris@
2008-01-31We have cvs_client_send_logmsg for transmission of log messages.Tobias Stoeckmann
OK joris@ xsa@
2008-01-31Replaced the unused cvs_command variable cmd_req with cmd_flags, which statesTobias Stoeckmann
if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
2007-06-28Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
Simplifies further size tweaks if needed. OK niallo@ ray@.
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
2007-02-09remove the cvs_file_classify() `loud' argument, it was usedJoris Vink
in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
2007-02-01add support for [-k mode]; tests/input/ok otto@.Xavier Santolaria
2007-01-25use more stack allocations for fixed size buffers. ok xsa@ joris@Otto Moerbeek
2007-01-21add support for the -A flag;Xavier Santolaria
wrap some lines while there. OK joris@.
2007-01-11in a remote setup:Joris Vink
do not connect to the remote server until we are sure all the options passed to the commands are valid. noticed by xsa@
2007-01-02missing xfree()'s; spotted by joris.Xavier Santolaria
2007-01-01add support for [-s state[:rev]]Xavier Santolaria
2006-12-31client-side bits might be useful too for -m...Xavier Santolaria
2006-12-31add support for -m option.Xavier Santolaria
2006-11-13Run cvs_file_classify() so local mode works...Xavier Santolaria
2006-11-13fix check on required arguments.Xavier Santolaria
2006-11-13Write rcs file when finished.Xavier Santolaria
2006-11-13Add support for [-a users] and [-o rev].Xavier Santolaria
2006-11-13bring back basic admin command, mostly based on OpenRCS rcs(1).Xavier Santolaria
not linked to build yet.
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-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-04-01fix some bugs that lint discovered for us.Joris Vink
ok niallo@
2006-03-24Remove unused variables, better integer types, prevent fallthroughs.Ray Lai
Found by lint. Compare char * variables against NULL for consistency and add parentheses around complicated comparisons, suggested by xsa@. OK xsa@
2006-03-16zap more unused variables.Xavier Santolaria
2006-02-01cannot admin newly added file.Xavier Santolaria
2006-01-30strerror() -> rcs_errstr() when passing rcs_errno as argument;Xavier Santolaria
2006-01-27more errors handling cleanup;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30major cleanup of the functions handling the remote cvs protocol.Joris Vink
makes the code a lot more readable and understandable. ok xsa@ and niallo@
2005-12-22cvs_rcs_getpath() cannot fail anymore;Xavier Santolaria
2005-07-27use LP_NOTICE instead of LP_INFO where appropriate;Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-07-18be consistent w/ warning messages (and handle -Q);Xavier Santolaria
2005-07-14use cvs_rcs_getpath();Xavier Santolaria
2005-07-11add info message;Xavier Santolaria
2005-07-07remove trailing whitespacesJoris Vink
from deraadt@
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-25split cvs_admin_file() into the local and remote versions and doJean-Francois Brousseau
some cleanup
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-20correct wrong error code usage.Joris Vink
ok jfb@, xsa@
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-16snprintf return value check; joris okXavier Santolaria
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-03-30move all the client commands to the new command framework.Joris Vink
eliminates a lot of duplicate code. ok jfb@
2005-03-26fix a variety of things i found at coverity. ok joris@Ted Unangst