summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-01-03 22:28:31 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-01-03 22:28:31 +0000
commit36b0c9e066cc83ad9bbae99899730308b0b802eb (patch)
treeb5c55a3542f5b9f561e594756a325960b55bd1f3 /usr.bin/cvs/checkout.c
parent154ac13620baabf42e54a1cd83dcec4f9fc9d6ec (diff)
add support for 'remove' in a remote setup.
testing appriciated, as always.
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)) {