From a591b030f0f98d50ad2df534daf74b07bf8961bb Mon Sep 17 00:00:00 2001 From: joris Date: Mon, 30 May 2005 09:52:55 +0000 Subject: don't forget to send the log message, this fixes the commit command. ok xsa@ --- usr.bin/cvs/commit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index f46f89fbcd6..7816b5eda44 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.35 2005/05/30 07:37:01 xsa Exp $ */ +/* $OpenBSD: commit.c,v 1.36 2005/05/30 09:52:55 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -160,6 +160,9 @@ cvs_commit_pre_exec(struct cvsroot *root) return (CVS_EX_DATA); if (root->cr_method != CVS_METHOD_LOCAL) { + if (cvs_logmsg_send(root, cvs_msg) < 0) + return (CVS_EX_PROTO); + if (rev != NULL) { if ((cvs_sendarg(root, "-r", 0) < 0) || (cvs_sendarg(root, rev, 0) < 0)) -- cgit v1.2.3-59-g8ed1b