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 is a CVS dir...



details:   https://anonhg.NetBSD.org/src/rev/cb6c5d2effc4
branches:  trunk
changeset: 832101:cb6c5d2effc4
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 bb89a5d12352 -r cb6c5d2effc4 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