summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
AgeCommit message (Collapse)Author
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
no binary change; ok ray
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-01-31errors in cvs_checkout_init() are definitly fatal.Xavier Santolaria
2006-01-30strerror() -> rcs_errstr() when passing rcs_errno as argument;Xavier Santolaria
2006-01-27cvs_mkadmin() cannot return < 0 anymore;Xavier Santolaria
2006-01-27errors handling cleaning here too;Xavier Santolaria
2006-01-27errors handling cleaning here too;Xavier Santolaria
2006-01-25use cvs_rcs_getpath() here too + some strings cleanup whilst here.Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30knfReyk Floeter
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-03add very basic support for the following stuff:Joris Vink
- checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@
2005-09-15check in cvs_mkadmin() wether we need to create or not theXavier Santolaria
CVS/Tag file. Sync the rest of the code accordingly; OK joris@.
2005-07-25KNF;Xavier Santolaria
2005-07-24some more `if (!var)' cleanup;Xavier Santolaria
2005-07-08- revert previous commit a bit, those arguments belonged to expand-modules.Joris Vink
- send -N by default, to match GNU's behaviour. ok xsa@
2005-07-08do not send the Arguments to the server twice.Joris Vink
ok xsa@
2005-07-07remove trailing whitespacesJoris Vink
from deraadt@
2005-06-28send date;Xavier Santolaria
2005-06-13`export' command first bits .. ok jorisXavier Santolaria
2005-06-09-D implies pruning directories, as already does -r; ok jorisXavier Santolaria
2005-06-09LP_ERR -> LP_ABORT to match gnu/usr.bin/cvs output; okay joris@.Xavier Santolaria
2005-06-07silly me. do not abuse the copy/paste skills i have ...Xavier Santolaria
2005-06-07enable -P option .. joris@ okXavier Santolaria
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-31remove LP_ERROR log priority level and rather use LP_ERR as they are bothXavier Santolaria
the same... ok jfb joris
2005-05-30dont return CVS_EX_USAGE when not needed; ok joris@Xavier Santolaria
2005-05-29-r implies -P (Prune empty directories);Xavier Santolaria
2005-05-26first part of real pruning supportJoris Vink
okay jfb@
2005-05-24- simplify cvs_mkadmin().Joris Vink
- create the correct base paths in checkout. - remove the CVS_CMD_SENDARGS2 flag for checkout, it doesn't need it. okay jfb@
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 -f flag; ok joris@Xavier Santolaria
2005-05-20first bits of the `cvs -n' option; ok jfb jorisXavier Santolaria
2005-05-20execute the command callback at the same time we are buildingJoris Vink
the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
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-02-22- support -c and -s to retrieve the module listJean-Francois Brousseau
- silently accept most of the other options supported by checkout - do not abandon all hope if the `expand-modules' request fails
2004-12-14cleaner error handling on connection setup and in case of connectionJean-Francois Brousseau
failure
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-11-26Match more closely the data sent by GNU CVS when dealing with multipleJean-Francois Brousseau
modules. Our checkout command can now perform the checkout of several modules at once.
2004-08-12Add error checking and move the protocol calls so we only send them ifJean-Francois Brousseau
the cvs server is remote
2004-08-06Start using the global files listJean-Francois Brousseau
2004-08-03Don't MKADMIN on cvs_file_get()Jean-Francois Brousseau
2004-07-30FixJean-Francois Brousseau
2004-07-30Move to the new API for the client-server protocol. All functions nowJean-Francois Brousseau
take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.
2004-07-29Don't export `cvs_root'Jean-Francois Brousseau
2004-07-28Pass the appropriate argument to cvs_client_connect()Jean-Francois Brousseau