summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2006-11-14 10:10:19 +0000
committerxsa <xsa@openbsd.org>2006-11-14 10:10:19 +0000
commit93bcb4ac3819b372ff019d9bf1cac68956516ba8 (patch)
treeaed57860e615bf948c1cf9673f9a10143b3c95cf
parentdummy support for Argumentx request. (diff)
downloadwireguard-openbsd-93bcb4ac3819b372ff019d9bf1cac68956516ba8.tar.xz
wireguard-openbsd-93bcb4ac3819b372ff019d9bf1cac68956516ba8.zip
add rlog and rannotate commands requests,
and sort them all while there so we get the same client/server output as GNU CVS; easier to debug.
-rw-r--r--usr.bin/cvs/client.c38
1 files changed, 20 insertions, 18 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index caef1ea3038..753de315d22 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.24 2006/11/14 09:59:54 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.25 2006/11/14 10:10:19 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -52,6 +52,7 @@ struct cvs_req cvs_requests[] = {
{ "Notify", 0, NULL, 0 },
{ "Case", 0, NULL, 0 },
{ "Gzip-stream", 0, NULL, 0 },
+ { "wrapper-sendme-rcsOptions", 0, NULL, 0 },
{ "Kerberos-encrypt", 0, NULL, 0 },
{ "Gssapi-encrypt", 0, NULL, 0 },
{ "Gssapi-authenticate", 0, NULL, 0 },
@@ -61,33 +62,34 @@ struct cvs_req cvs_requests[] = {
/* commands that might be supported */
{ "ci", 0, cvs_server_commit, 0 },
{ "co", 0, NULL, 0 },
+ { "update", 0, cvs_server_update, 0 },
{ "diff", 0, cvs_server_diff, 0 },
- { "tag", 0, cvs_server_tag, 0 },
- { "status", 0, cvs_server_status, 0 },
- { "admin", 0, cvs_server_admin, 0 },
- { "history", 0, NULL, 0 },
- { "watchers", 0, NULL, 0 },
- { "editors", 0, NULL, 0 },
- { "annotate", 0, NULL, 0 },
{ "log", 0, cvs_server_log, 0 },
- { "export", 0, NULL, 0 },
+ { "rlog", 0, NULL, 0 },
+ { "add", 0, cvs_server_add, 0 },
+ { "remove", 0, cvs_server_remove, 0 },
+ { "update-patches", 0, NULL, 0 },
+ { "gzip-file-contents", 0, NULL, 0 },
+ { "status", 0, cvs_server_status, 0 },
{ "rdiff", 0, NULL, 0 },
+ { "tag", 0, cvs_server_tag, 0 },
{ "rtag", 0, NULL, 0 },
- { "init", 0, cvs_server_init, 0 },
- { "update", 0, cvs_server_update, 0 },
{ "import", 0, NULL, 0 },
- { "add", 0, cvs_server_add, 0 },
- { "remove", 0, cvs_server_remove, 0 },
- { "version", 0, cvs_server_version, 0 },
+ { "admin", 0, cvs_server_admin, 0 },
+ { "export", 0, NULL, 0 },
+ { "history", 0, NULL, 0 },
+ { "release", 0, NULL, 0 },
{ "watch-on", 0, NULL, 0 },
{ "watch-off", 0, NULL, 0 },
{ "watch-add", 0, NULL, 0 },
{ "watch-remove", 0, NULL, 0 },
- { "release", 0, NULL, 0 },
+ { "watchers", 0, NULL, 0 },
+ { "editors", 0, NULL, 0 },
+ { "init", 0, cvs_server_init, 0 },
+ { "annotate", 0, NULL, 0 },
+ { "rannotate", 0, NULL, 0 },
{ "noop", 0, NULL, 0 },
- { "update-patches", 0, NULL, 0 },
- { "gzip-file-contents", 0, NULL, 0 },
- { "wrapper-sendme-rcsOptions", 0, NULL, 0 },
+ { "version", 0, cvs_server_version, 0 },
{ "", -1, NULL, 0 }
};