=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/client.c,v retrieving revision 1.94 retrieving revision 1.95 diff -c -r1.94 -r1.95 *** src/usr.bin/cvs/client.c 2008/02/01 17:18:59 1.94 --- src/usr.bin/cvs/client.c 2008/02/01 21:09:59 1.95 *************** *** 1,4 **** ! /* $OpenBSD: client.c,v 1.94 2008/02/01 17:18:59 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: client.c,v 1.95 2008/02/01 21:09:59 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 74,119 **** { "expand-modules", 0, NULL, 0 }, /* commands that might be supported */ ! { "ci", 0, cvs_server_commit, ! REQ_NEEDDIR }, ! { "co", 0, cvs_server_checkout, ! REQ_NEEDDIR }, ! { "update", 0, cvs_server_update, ! REQ_NEEDDIR }, ! { "diff", 0, cvs_server_diff, REQ_NEEDDIR }, ! { "log", 0, cvs_server_log, REQ_NEEDDIR }, ! { "rlog", 0, cvs_server_rlog, 0 }, ! { "add", 0, cvs_server_add, REQ_NEEDDIR }, ! { "remove", 0, cvs_server_remove, ! REQ_NEEDDIR }, ! { "update-patches", 0, cvs_server_update_patches, 0 }, ! { "gzip-file-contents", 0, NULL, 0 }, ! { "status", 0, cvs_server_status, ! REQ_NEEDDIR }, ! { "rdiff", 0, NULL, 0 }, ! { "tag", 0, cvs_server_tag, REQ_NEEDDIR }, ! { "rtag", 0, cvs_server_rtag, 0 }, ! { "import", 0, cvs_server_import, ! REQ_NEEDDIR }, ! { "admin", 0, cvs_server_admin, REQ_NEEDDIR }, ! { "export", 0, cvs_server_export, ! REQ_NEEDDIR }, ! { "history", 0, NULL, 0 }, ! { "release", 0, cvs_server_release, ! REQ_NEEDDIR }, ! { "watch-on", 0, NULL, 0 }, ! { "watch-off", 0, NULL, 0 }, ! { "watch-add", 0, NULL, 0 }, ! { "watch-remove", 0, NULL, 0 }, ! { "watchers", 0, NULL, 0 }, ! { "editors", 0, NULL, 0 }, ! { "init", 0, cvs_server_init, 0 }, ! { "annotate", 0, cvs_server_annotate, ! REQ_NEEDDIR }, ! { "rannotate", 0, cvs_server_rannotate, 0 }, ! { "noop", 0, NULL, 0 }, ! { "version", 0, cvs_server_version, 0 }, ! { "", -1, NULL, 0 } }; static void client_check_directory(char *); --- 74,110 ---- { "expand-modules", 0, NULL, 0 }, /* commands that might be supported */ ! { "ci", 0, cvs_server_commit, REQ_NEEDDIR }, ! { "co", 0, cvs_server_checkout, REQ_NEEDDIR }, ! { "update", 0, cvs_server_update, REQ_NEEDDIR }, ! { "diff", 0, cvs_server_diff, REQ_NEEDDIR }, ! { "log", 0, cvs_server_log, REQ_NEEDDIR }, ! { "rlog", 0, cvs_server_rlog, 0 }, ! { "add", 0, cvs_server_add, REQ_NEEDDIR }, ! { "remove", 0, cvs_server_remove, REQ_NEEDDIR }, ! { "update-patches", 0, cvs_server_update_patches, 0 }, ! { "gzip-file-contents", 0, NULL, 0 }, ! { "status", 0, cvs_server_status, REQ_NEEDDIR }, ! { "rdiff", 0, NULL, 0 }, ! { "tag", 0, cvs_server_tag, REQ_NEEDDIR }, ! { "rtag", 0, cvs_server_rtag, 0 }, ! { "import", 0, cvs_server_import, REQ_NEEDDIR }, ! { "admin", 0, cvs_server_admin, REQ_NEEDDIR }, ! { "export", 0, cvs_server_export, REQ_NEEDDIR }, ! { "history", 0, NULL, 0 }, ! { "release", 0, cvs_server_release, REQ_NEEDDIR }, ! { "watch-on", 0, NULL, 0 }, ! { "watch-off", 0, NULL, 0 }, ! { "watch-add", 0, NULL, 0 }, ! { "watch-remove", 0, NULL, 0 }, ! { "watchers", 0, NULL, 0 }, ! { "editors", 0, NULL, 0 }, ! { "init", 0, cvs_server_init, 0 }, ! { "annotate", 0, cvs_server_annotate, REQ_NEEDDIR }, ! { "rannotate", 0, cvs_server_rannotate, 0 }, ! { "noop", 0, NULL, 0 }, ! { "version", 0, cvs_server_version, 0 }, ! { "", -1, NULL, 0 } }; static void client_check_directory(char *);