summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 1d0cd273148..bc4f9ff2eb6 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.68 2007/01/03 20:48:26 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.69 2007/01/03 22:28:30 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -263,14 +263,11 @@ cvs_checkout_file(struct cvs_file *cf, RCSNUM *rnum, BUF *bp, int flags)
if ((p = strrchr(cf->file_rpath, ',')) != NULL)
*p = '\0';
- if (flags & CO_COMMIT) {
- cvs_server_send_response("Checked-in %s/",
- cf->file_wd);
- } else {
- cvs_server_send_response("Updated %s/", cf->file_wd);
- }
+ if (flags & CO_COMMIT)
+ cvs_server_update_entry("Checked-in", cf);
+ else
+ cvs_server_update_entry("Updated", cf);
- cvs_remote_output(cf->file_rpath);
cvs_remote_output(entry);
if (!(flags & CO_COMMIT)) {