pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Removed the check for expanded ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa0dd30bcbc9
branches:  trunk
changeset: 496550:fa0dd30bcbc9
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jul 02 12:02:58 2005 +0000

description:
Removed the check for expanded RCS tag completely, assuming no one will
ever need to distinguish between expanded and unexpanded RCS tags while
committing.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (32 lines):

diff -r 09f6a3d14cbc -r fa0dd30bcbc9 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Jul 02 11:34:28 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Jul 02 12:02:58 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.196 2005/07/01 21:12:18 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.197 2005/07/02 12:02:58 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1504,17 +1504,8 @@
        }
        $idx = 0;
 
-       #
-       # section 1: comment lines.
-       #
-       $tmp = $sections[$idx++];
-       if ($tmp =~ /#(\s+)\$$conf_rcsidstr([^\$]*)\$/) {
-               if ($2 ne '') {
-                       if (!is_committed($fname)) {
-                               $opt_warn_vague && log_warning(NO_FILE, NO_LINE_NUMBER, "Exactly \"\$$conf_rcsidstr\$\" expected for uncommitted files.");
-                       }
-               }
-       }
+       # section 1 (comment lines): No checks needed
+       $idx++;
 
        #
        # for the rest of the checks, comment lines are not important.



Home | Main Index | Thread Index | Old Index