summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-05-23 17:43:55 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-05-23 17:43:55 +0000
commit6964e98c0e07522fbb6b0dd3852634fb9fdefbb3 (patch)
treed3188386a988e79a6ee809504db8ef039fc7125e /usr.bin
parenta4e0d513c53ea5aa082f06cbeac11713ea312af0 (diff)
add some logging for `cvs -t' option use; ok joris@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/cmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index 6b020b49050..24d406957fd 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.17 2005/05/20 05:13:44 joris Exp $ */
+/* $OpenBSD: cmd.c,v 1.18 2005/05/23 17:43:54 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -72,6 +72,9 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
if ((root = cvsroot_get(".")) == NULL)
return (CVS_EX_BADROOT);
+ if (cvs_trace)
+ cvs_log(LP_TRACE, "cvs_startcmd() CVSROOT=%s", root->cr_str);
+
if (root->cr_method != CVS_METHOD_LOCAL) {
if (cvs_connect(root) < 0)
return (CVS_EX_PROTO);