summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/cmd.c')
-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);