diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-23 17:43:55 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-05-23 17:43:55 +0000 |
commit | 6964e98c0e07522fbb6b0dd3852634fb9fdefbb3 (patch) | |
tree | d3188386a988e79a6ee809504db8ef039fc7125e /usr.bin | |
parent | a4e0d513c53ea5aa082f06cbeac11713ea312af0 (diff) |
add some logging for `cvs -t' option use; ok joris@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/cmd.c | 5 |
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); |