diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-05 15:47:18 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2006-03-05 15:47:18 +0000 |
commit | e782fbd7ee8fb81a649338aade12b7e3597fb7a1 (patch) | |
tree | 22e8e4573579c19c54de49432468638583771ee2 /usr.bin | |
parent | c9d8979b9dd0079c93b0fc41fa0fcf6930661866 (diff) |
honour -m on initial revision.
ok xsa@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 95a6204fc39..e468bcf9220 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.102 2006/02/20 16:30:18 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.103 2006/03/05 15:47:17 niallo Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -625,7 +625,8 @@ checkin_init(struct checkin_params *pb) /* Now add our new revision */ if (rcs_rev_add(pb->file, (pb->newrev == NULL ? RCS_HEAD_REV : pb->newrev), - LOG_INIT, pb->date, pb->author) != 0) { + (pb->rcs_msg == NULL ? LOG_INIT : pb->rcs_msg), + pb->date, pb->author) != 0) { cvs_log(LP_ERR, "failed to add new revision"); return (-1); } |