summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2005-06-13move the CVSROOT check earlier in the process, this way we get theXavier Santolaria
CVSROOT checked before the commands are run ... ok joris@.
2005-06-13`export' command first bits .. ok jorisXavier Santolaria
2005-06-11clearify empty lines and comments in the cvsrc file.Joris Vink
based upon a diff from Michael Knudsen, tweaks from jmc@ ok jmc@
2005-06-10if the remote end doesn't support a version request,Joris Vink
send noop instead.
2005-06-10unused variable.Joris Vink
2005-06-10instead of opening and closing the entry file all theJoris Vink
time, keep the entry file for the last received directory open until we switch directories. cuts CPU time in half and increases overall performance a bit. ok xsa@
2005-06-10allow comments in the cvsrc file.Joris Vink
reported by david@
2005-06-09-D implies pruning directories, as already does -r; ok jorisXavier Santolaria
2005-06-09manpage nits.Joris Vink
from Micheal Knudsen. ok jmc@, xsa@
2005-06-09LP_ERR -> LP_ABORT to match gnu/usr.bin/cvs output; okay joris@.Xavier Santolaria
2005-06-09don't forget to close entfile in cvs_file_getspec().Joris Vink
2005-06-09remove useless cvsd leftovers.Joris Vink
from Michael Knudsen
2005-06-07don't forget to call cvs_disconnect() at the endJoris Vink
of a remote connection. ok xsa@
2005-06-07silly me. do not abuse the copy/paste skills i have ...Xavier Santolaria
2005-06-07enable -P option .. joris@ okXavier Santolaria
2005-06-07add the -P option in the checkout example; ok jmc@ joris@.Xavier Santolaria
2005-06-07remove ancient and unused CVS define. it was a leftover fromJoris Vink
the daemon. ok xsa@
2005-06-07cvs_path_cat() already sets errno, no need to duplicate.Xavier Santolaria
2005-06-07only display the ``cannot open ./CVS/Entries'' error message whenXavier Santolaria
appropriate ... ok joris@.
2005-06-05* introduce cvs_putchar(), to output a single character to stdout.Joris Vink
if we are in server mode send 'M' when needed. * switch diff command to cvs_printf() and cvs_putchar() so it will output correctly in local and server mode. ok xsa@, jfb@
2005-06-02remove unneeded error reporting when using cvs_path_cat(), theJoris Vink
function does it for us. OK jfb@
2005-06-02make cvs_printf() a bit smarter, so it can be called without havingJoris Vink
to worry about the 'M' in server mode. OK jfb@
2005-06-02be gone unused init handler.Joris Vink
2005-06-02handle commands which do not have any init callback a bitJoris Vink
better, eliminates the use of dummy functions. OK jfb@
2005-06-02- set LP_ABORT log level when action is abored by user instead of LP_ERRXavier Santolaria
- missing \n in output of an unchanged log message warning - always use the command name in error messages instead of aliases ok jfb@.
2005-06-02revert cvs_noexec checks commit, requested by jfb@.Xavier Santolaria
2005-06-01missed these in previous commits.Joris Vink
2005-06-01remove debug codeJoris Vink
2005-06-01don't trust cvs_file_getpath() to get the correct path when creatingJoris Vink
the Repository file for subdirs, if we are not in the root directory of the repository. instead, save the parent's Repository path and reuse it when needed, this way CVS/Repository files aren't messed up with completely wrong pathnames when running "cvs update -d" in src/sys/ for example. ok xsa@
2005-06-01when creating a new directory, steal the parent its cvsroot structure ifJoris Vink
we cannot find one with cvsroot_get(). fixes several segfaults. tested & ok xsa@
2005-06-01document cvs -n option; help/ok jmc@, ok joris@.Xavier Santolaria
2005-05-31get rid of LP_WARNING (vs. LP_WARN) as well ... ok jfb@.Xavier Santolaria
2005-05-31cvs_noexec check if -d option specified ..Xavier Santolaria
2005-05-31add some comments ..Xavier 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-31b1 and b2 can be NULL if an invalid revision is given.Joris Vink
if one of them is NULL, bail out.
2005-05-30don't forget to send the log message, this fixes the commit command.Joris Vink
ok xsa@
2005-05-30-D and -r can be used simultaneously, pointed out by marc@ and thusXavier Santolaria
backout my previous change + spotted another case in the annotate command... ok joris@
2005-05-30zap an unused variableJoris Vink
2005-05-30skeleton for watch{,ers} commands, not linked yet;Xavier Santolaria
"i'm cool with that" joris@
2005-05-30dont return CVS_EX_USAGE when not needed; ok joris@Xavier Santolaria
2005-05-30handle -r option; ok joris@Xavier Santolaria
2005-05-30check cvs_sendarg() return value; ok joris@Xavier Santolaria
2005-05-29-r implies -P (Prune empty directories);Xavier Santolaria
2005-05-29-D and -r are mutually exclusive ...Xavier Santolaria
2005-05-29add missing options in usage..Xavier Santolaria
2005-05-29consistency in error messages ...Xavier Santolaria
2005-05-29correct error message...Xavier Santolaria
2005-05-29handle -r option;Xavier Santolaria