summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-24 04:21:55 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-24 04:21:55 +0000
commit6d40d484e428af98613586ff21b4e6cb34b6290f (patch)
tree627696c119c698bf5d1c6687a53030d8de1a89c1 /usr.bin
parent3b1f70a1b16fe7fbb4dd2023fca5a05586074d52 (diff)
remove debugging messages
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/cmd.c5
-rw-r--r--usr.bin/cvs/import.c3
-rw-r--r--usr.bin/cvs/update.c4
3 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index 88a1a672d81..a7559a36be5 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.19 2005/05/24 04:12:25 jfb Exp $ */
+/* $OpenBSD: cmd.c,v 1.20 2005/05/24 04:21:54 jfb Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -164,7 +164,6 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
return cvs_server(argc, argv);
if (cmd->cmd_init != NULL) {
- printf("[init]\n");
if ((ret = (*cmd->cmd_init)(cmd, argc, argv, &i)) != 0)
return (ret);
@@ -184,7 +183,6 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
cvs_log(LP_TRACE, "cvs_startcmd() CVSROOT=%s", root->cr_str);
if (cmd->cmd_pre_exec != NULL) {
- printf("[pre-exec]\n");
if ((ret = cmd->cmd_pre_exec(root)) != 0)
return (ret);
}
@@ -206,7 +204,6 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
return (CVS_EX_DATA);
if (cmd->cmd_post_exec != NULL) {
- printf("[post-exec]\n");
if ((ret = cmd->cmd_post_exec(root)) != 0)
return (ret);
}
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 6fd94a8cdbc..a2aa8fdee90 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.15 2005/05/24 04:12:25 jfb Exp $ */
+/* $OpenBSD: import.c,v 1.16 2005/05/24 04:21:54 jfb Exp $ */
/*
* Copyright (c) 2004 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -251,7 +251,6 @@ cvs_import_local(CVSFILE *cf, void *arg)
snprintf(rpath, sizeof(rpath), "%s/%s%s",
repo, fpath, RCS_FILE_EXT);
- printf("importing file in %s\n", rpath);
cvs_printf("N %s\n", fpath);
rf = rcs_open(rpath, RCS_RDWR|RCS_CREATE);
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index 922d96305ad..d7213c8bed5 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.29 2005/05/24 04:12:25 jfb Exp $ */
+/* $OpenBSD: update.c,v 1.30 2005/05/24 04:21:54 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -192,7 +192,6 @@ cvs_update_local(CVSFILE *cf, void *arg)
RCSFILE *rf;
struct cvsroot *root;
- printf("cvs_update_local(%s)\n", cf->cf_name);
ret = 0;
rf = NULL;
root = CVS_DIR_ROOT(cf);
@@ -218,7 +217,6 @@ cvs_update_local(CVSFILE *cf, void *arg)
return (CVS_EX_DATA);
}
- printf("opening %s\n", rcspath);
rf = rcs_open(rcspath, RCS_RDWR);
if (rf == NULL) {
printf("failed here?\n");