pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files When RCS Ids are detected in pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64e8bde2ba12
branches:  trunk
changeset: 498817:64e8bde2ba12
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Sep 03 22:23:46 2005 +0000

description:
When RCS Ids are detected in patches, don't suggest the -ko mode, but
ask the user to remove the offending line from the patch.

diffstat:

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

diffs (21 lines):

diff -r 425c29b4319e -r 64e8bde2ba12 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Sep 03 22:20:55 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Sep 03 22:23:46 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.274 2005/09/03 11:53:15 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.275 2005/09/03 22:23:46 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1072,7 +1072,7 @@
                if ($line->text =~ /$regex_known_rcs_tag/) {
                        # XXX: see the pkgsrc guide how to fix that
                        # TODO: that section still needs to be written
-                       $line->log_warning("Possible RCS tag \"\$$1\$\". Use no-keyword mode (-ko) on cvs add/import.");
+                       $line->log_warning("Possible RCS tag \"\$$1\$\". Please try to remove that line from the patch.");
                }
        }
        checklines_trailing_empty_lines($lines);



Home | Main Index | Thread Index | Old Index