Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/xcvs/dist/src keep going if there...



details:   https://anonhg.NetBSD.org/src/rev/aa88390afd34
branches:  trunk
changeset: 318569:aa88390afd34
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 29 15:47:01 2018 +0000
description:
keep going if there is a CVS directory already, but warn

diffstat:

 external/gpl2/xcvs/dist/src/create_adm.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r e6e199560b3e -r aa88390afd34 external/gpl2/xcvs/dist/src/create_adm.c
--- a/external/gpl2/xcvs/dist/src/create_adm.c  Sun Apr 29 14:54:09 2018 +0000
+++ b/external/gpl2/xcvs/dist/src/create_adm.c  Sun Apr 29 15:47:01 2018 +0000
@@ -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 @@
 
     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)
     {



Home | Main Index | Thread Index | Old Index