diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-11-09 09:24:29 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-11-09 09:24:29 +0000 |
commit | 6f06abf798f653566828cfc74cd32dbb07d50454 (patch) | |
tree | e2ba6a47190e4103ae8e16c9ec42000cbdec9147 /usr.bin/cvs/server.c | |
parent | 3c4ffd0a1397301f1142a6463f3903cf2f2878dd (diff) |
remote tag command support joins the party!
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r-- | usr.bin/cvs/server.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c index 5bc1cc06381..65f04d7df99 100644 --- a/usr.bin/cvs/server.c +++ b/usr.bin/cvs/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.31 2006/10/31 15:23:40 xsa Exp $ */ +/* $OpenBSD: server.c,v 1.32 2006/11/09 09:24:28 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -444,6 +444,17 @@ cvs_server_log(char *data) } void +cvs_server_tag(char *data) +{ + if (chdir(server_currentdir) == -1) + fatal("cvs_server_tag: %s", strerror(errno)); + + cvs_cmdop = CVS_OP_TAG; + cvs_getlog(server_argc, server_argv); + cvs_server_send_response("ok"); +} + +void cvs_server_update(char *data) { if (chdir(server_currentdir) == -1) |