diff options
author | 2005-05-23 17:43:54 +0000 | |
---|---|---|
committer | 2005-05-23 17:43:54 +0000 | |
commit | 1d644520327faecc93ebc851f4e93a052b12959a (patch) | |
tree | 56348e7d8c34d7c04c4cd3e73d330f86ad80a05d | |
parent | remove dead and wrong code. (diff) | |
download | wireguard-openbsd-1d644520327faecc93ebc851f4e93a052b12959a.tar.xz wireguard-openbsd-1d644520327faecc93ebc851f4e93a052b12959a.zip |
add some logging for `cvs -t' option use; ok joris@
-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); |