From 6964e98c0e07522fbb6b0dd3852634fb9fdefbb3 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Mon, 23 May 2005 17:43:55 +0000 Subject: add some logging for `cvs -t' option use; ok joris@ --- usr.bin/cvs/cmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin') 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 * 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); -- cgit v1.2.3