Module Name: src
Committed By: christos
Date: Sun Apr 29 15:47:01 UTC 2018
Modified Files:
src/external/gpl2/xcvs/dist/src: create_adm.c
Log Message:
keep going if there is a CVS directory already, but warn
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/xcvs/dist/src/create_adm.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/xcvs/dist/src/create_adm.c
diff -u src/external/gpl2/xcvs/dist/src/create_adm.c:1.2 src/external/gpl2/xcvs/dist/src/create_adm.c:1.3
--- src/external/gpl2/xcvs/dist/src/create_adm.c:1.2 Tue May 17 10:00:09 2016
+++ src/external/gpl2/xcvs/dist/src/create_adm.c Sun Apr 29 11:47:01 2018
@@ -16,7 +16,7 @@
* "Entries" file is prefilled from the "initrecord" argument.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: create_adm.c,v 1.2 2016/05/17 14:00:09 christos Exp $");
+__RCSID("$NetBSD: create_adm.c,v 1.3 2018/04/29 15:47:01 christos Exp $");
#include "cvs.h"
@@ -49,7 +49,9 @@ Create_Admin (const char *dir, const cha
tmp = Xasprintf ("%s/%s", dir, CVSADM);
if (isfile (tmp))
- error (1, 0, "there is a version in %s already", update_dir);
+ {
+ error (0, 0, "there is a version in %s already", update_dir);
+ }
if (CVS_MKDIR (tmp, 0777) < 0)
{