summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-02 11:31:36 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2007-09-02 11:31:36 +0000
commit5890411c5f4fcd3eb2962ee8180ae297e374281f (patch)
treeeee114b43a6a92569079fa81bd766dddcdfeb375 /usr.bin
parentd501ed3a780e93bbc31c15af68528ac3b675e69b (diff)
Stick at GNU cvs behaviour by writing "Initial revision" in revision 1.1
instead of custom log message (which gets written into 1.1.1.1). OK joris@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/import.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 49557292cb2..042332682d9 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.75 2007/08/30 11:07:18 joris Exp $ */
+/* $OpenBSD: import.c,v 1.76 2007/09/02 11:31:35 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -257,7 +257,8 @@ import_new(struct cvs_file *cf)
if (rcs_rev_add(cf->file_rcs, brev, logmsg, tstamp, NULL) == -1)
fatal("import_new: failed to create first branch revision");
- if (rcs_rev_add(cf->file_rcs, RCS_HEAD_REV, logmsg, tstamp, NULL) == -1)
+ if (rcs_rev_add(cf->file_rcs, RCS_HEAD_REV, "Initial revision",
+ tstamp, NULL) == -1)
fatal("import_new: failed to create first revision");
if ((rdp = rcs_findrev(cf->file_rcs, cf->file_rcs->rf_head)) == NULL)