summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/import.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-01-07 02:47:58 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-01-07 02:47:58 +0000
commit125044b0d0b25a5acf48af8a4c32b41aba93de46 (patch)
tree2ab4f5e96bbd9e69dff152b910191fdad2e08114 /usr.bin/cvs/import.c
parentfecbbc69bad19546214903fdee75458defe4f592 (diff)
and lets make import work with the new logmsg code too!
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r--usr.bin/cvs/import.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c
index 81b5eb0abd9..766f5782717 100644
--- a/usr.bin/cvs/import.c
+++ b/usr.bin/cvs/import.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: import.c,v 1.56 2006/12/04 09:51:21 xsa Exp $ */
+/* $OpenBSD: import.c,v 1.57 2007/01/07 02:47:57 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -82,7 +82,10 @@ cvs_import(int argc, char **argv)
fatal("%s", cvs_cmd_import.cmd_synopsis);
if (logmsg == NULL)
- fatal("please specify a logmessage using -m for now");
+ logmsg = cvs_logmsg_create(NULL, NULL, NULL);
+
+ if (logmsg == NULL)
+ fatal("This shouldnt happen, honestly!");
import_repository = argv[0];
vendor_tag = argv[1];