diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-07-09 01:47:21 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-07-09 01:47:21 +0000 |
commit | 23d9e8e5405c501fceeb054f285d5968d1ba9114 (patch) | |
tree | 7beb49d05e4be7058e8c81034cde4372ec248370 /usr.bin/cvs/client.c | |
parent | 9dc45c2d9db81ea578f057332e2b179f27cc8e66 (diff) |
more straightforward trace (-t) output, too much is just too noisy.
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r-- | usr.bin/cvs/client.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 9e09f74be79..baf3f4cda74 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.11 2006/07/08 01:02:03 joris Exp $ */ +/* $OpenBSD: client.c,v 1.12 2006/07/09 01:47:20 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -265,6 +265,7 @@ cvs_client_send_request(char *fmt, ...) if (s != NULL) *s = ' '; + cvs_log(LP_TRACE, "%s", data); cvs_remote_output(data); xfree(data); } @@ -304,8 +305,6 @@ cvs_client_senddir(const char *dir) { char *repo; - cvs_log(LP_TRACE, "cvs_client_senddir(%s)", dir); - if (lastdir != NULL && !strcmp(dir, lastdir)) return; @@ -332,8 +331,6 @@ cvs_client_sendfile(struct cvs_file *cf) return; cvs_client_senddir(cf->file_wd); - - cvs_log(LP_TRACE, "cvs_client_sendfile(%s)", cf->file_path); cvs_remote_classify_file(cf); if (cf->file_type == CVS_DIR) @@ -409,14 +406,12 @@ cvs_client_send_files(char **argv, int argc) void cvs_client_ok(char *data) { - cvs_log(LP_TRACE, "cvs_client_ok()"); end_of_response = 1; } void cvs_client_error(char *data) { - cvs_log(LP_TRACE, "cvs_client_error()"); end_of_response = 1; } @@ -470,8 +465,6 @@ cvs_client_checkedin(char *data) struct cvs_ent *ent, *newent; char *dir, *entry, rev[16], timebuf[64], sticky[16]; - cvs_log(LP_TRACE, "cvs_client_checkedin(%s)", data); - dir = cvs_remote_input(); entry = cvs_remote_input(); xfree(dir); @@ -523,8 +516,6 @@ cvs_client_updated(char *data) char timebuf[32], *repo, *rpath, *entry, *mode; char revbuf[32], *len, *fpath, *wdir; - cvs_log(LP_TRACE, "cvs_client_updated(%s)", data); - client_check_directory(data); rpath = cvs_remote_input(); @@ -602,13 +593,11 @@ cvs_client_updated(char *data) void cvs_client_merged(char *data) { - cvs_log(LP_TRACE, "cvs_client_merged(%s)", data); } void cvs_client_removed(char *data) { - cvs_log(LP_TRACE, "cvs_client_removed(%s)", data); } void @@ -616,8 +605,6 @@ cvs_client_remove_entry(char *data) { char *dir; - cvs_log(LP_TRACE, "cvs_client_remove_entry(%s)", data); - dir = cvs_remote_input(); xfree(dir); } |