diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-05-30 09:52:56 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-05-30 09:52:56 +0000 |
commit | 79309614829726eb1a46913a7aba74b5a9399ad0 (patch) | |
tree | 432a5992379f1f785d0d8b867414c7dfd081b98b /usr.bin | |
parent | 92843212cbcfdf87f82db44be609b3d04407f62d (diff) |
don't forget to send the log message, this fixes the commit command.
ok xsa@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/commit.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <jfb@openbsd.org> * 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)) |