pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Clarified the warning message w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7560ff369837
branches:  trunk
changeset: 496540:7560ff369837
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 01 21:12:18 2005 +0000

description:
Clarified the warning message when an uncommitted file has an expanded
NetBSD RCS tag instead of an unexpanded one. A user had complained about
it.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 063fe7c4a1b1 -r 7560ff369837 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Jul 01 17:24:02 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Jul 01 21:12:18 2005 +0000
@@ -11,7 +11,7 @@
 # Freely redistributable.  Absolutely no warranty.
 #
 # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.195 2005/06/27 19:28:08 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.196 2005/07/01 21:12:18 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1511,7 +1511,7 @@
        if ($tmp =~ /#(\s+)\$$conf_rcsidstr([^\$]*)\$/) {
                if ($2 ne '') {
                        if (!is_committed($fname)) {
-                               $opt_warn_vague && log_warning(NO_FILE, NO_LINE_NUMBER, "\"\$$conf_rcsidstr\$\" expected.");
+                               $opt_warn_vague && log_warning(NO_FILE, NO_LINE_NUMBER, "Exactly \"\$$conf_rcsidstr\$\" expected for uncommitted files.");
                        }
                }
        }



Home | Main Index | Thread Index | Old Index