From 6f06abf798f653566828cfc74cd32dbb07d50454 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Thu, 9 Nov 2006 09:24:29 +0000 Subject: remote tag command support joins the party! --- usr.bin/cvs/server.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'usr.bin/cvs/server.c') 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 * @@ -443,6 +443,17 @@ cvs_server_log(char *data) cvs_server_send_response("ok"); } +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) { -- cgit v1.2.3