=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/init.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/cvs/init.c 2005/04/16 20:05:05 1.15 +++ src/usr.bin/cvs/init.c 2005/05/24 04:12:25 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.15 2005/04/16 20:05:05 xsa Exp $ */ +/* $OpenBSD: init.c,v 1.16 2005/05/24 04:12:25 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -50,7 +50,6 @@ mode_t cf_mode; } cvsroot_files[] = { { CVS_PATH_ROOT, CFT_DIR, (S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) }, - { CVS_PATH_COMMITINFO, CFT_FILE, (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) }, { CVS_PATH_CONFIG, CFT_FILE, (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) }, { CVS_PATH_CVSIGNORE, CFT_FILE, (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) }, @@ -67,11 +66,20 @@ int cvs_init_local(struct cvsroot *); -struct cvs_cmd_info cvs_init = { +struct cvs_cmd cvs_cmd_init = { + CVS_OP_INIT, CVS_REQ_INIT, "init", + { }, + "Create a CVS repository if it doesn't exist", + "", + "", NULL, - NULL, NULL, NULL, NULL, 0, - CVS_REQ_INIT, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, 0 };