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 When we we fail to remove tags, ...
details: https://anonhg.NetBSD.org/src/rev/ad469caa5691
branches: trunk
changeset: 995763:ad469caa5691
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 05 00:27:58 2019 +0000
description:
When we we fail to remove tags, print an error message since we are going
to be exiting with an error anyway.
diffstat:
external/gpl2/xcvs/dist/src/tag.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r 3da335ec49b1 -r ad469caa5691 external/gpl2/xcvs/dist/src/tag.c
--- a/external/gpl2/xcvs/dist/src/tag.c Fri Jan 04 23:03:02 2019 +0000
+++ b/external/gpl2/xcvs/dist/src/tag.c Sat Jan 05 00:27:58 2019 +0000
@@ -17,7 +17,7 @@
* the modules database, if necessary.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tag.c,v 1.4 2016/05/17 14:00:09 christos Exp $");
+__RCSID("$NetBSD: tag.c,v 1.5 2019/01/05 00:27:58 christos Exp $");
#include "cvs.h"
#include <grp.h>
@@ -1189,7 +1189,7 @@
if ((isbranch && !disturb_branch_tags) ||
(!isbranch && disturb_branch_tags))
{
- if (!quiet)
+ if (!really_quiet)
error (0, 0,
"Not removing %s tag `%s' from `%s'%s.",
isbranch ? "branch" : "non-branch",
@@ -1200,7 +1200,7 @@
if ((retcode = RCS_deltag(rcsfile, symtag)) != 0)
{
- if (!quiet)
+ if (!really_quiet)
error (0, retcode == -1 ? errno : 0,
"failed to remove tag `%s' from `%s'", symtag,
rcsfile->path);
@@ -1275,7 +1275,7 @@
if ((isbranch && !disturb_branch_tags) ||
(!isbranch && disturb_branch_tags))
{
- if (!quiet)
+ if (!really_quiet)
error(0, 0,
"Not removing %s tag `%s' from `%s'%s.",
isbranch ? "branch" : "non-branch",
@@ -1287,7 +1287,7 @@
if ((retcode = RCS_deltag (vers->srcfile, symtag)) != 0)
{
- if (!quiet)
+ if (!really_quiet)
error (0, retcode == -1 ? errno : 0,
"failed to remove tag %s from %s", symtag,
vers->srcfile->path);
Home |
Main Index |
Thread Index |
Old Index