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

[SCM] Debian package checker branch, master, updated. 2.2.12-44-ga2a402c



The following commit has been merged in the master branch:
commit 81a9044dc2d29ace38735e5c246750a4d7e4da39
Author: Russ Allbery <rra@debian.org>
Date:   Sun Jul 5 01:40:05 2009 -0700

    Show line numbers in watch files in a consistent way
    
    * checks/watch-file:
      + [RA] Use a consistent way of displaying the line number of a problem.

diff --git a/checks/watch-file b/checks/watch-file
index 088640f..c3292b1 100644
--- a/checks/watch-file
+++ b/checks/watch-file
@@ -153,13 +153,13 @@ if (defined $changes and %dversions) {
         local $" = ', ';
         if (!$info->native && exists($changelog_versions{'orig'}{$dversion})) {
             tag 'debian-watch-file-specifies-wrong-upstream-version',
-                "$dversion: @{$lines}";
+                $dversion, "line @{$lines}";
             next;
         }
         if (exists($changelog_versions{'mangled'}{$dversion})
             && $changelog_versions{'mangled'}{$dversion} != 1) {
             tag 'debian-watch-file-specifies-old-upstream-version',
-                "$dversion: @{$lines}";
+                $dversion, "line @{$lines}";
             next;
         }
     }
diff --git a/debian/changelog b/debian/changelog
index c590084..19a2edb 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,8 @@ lintian (2.2.13) UNRELEASED; urgency=low
       Julien Cristau.  (Closes: #534580)
     + [RA] Check for any maintainer script running install-info, since
       this is now handled with triggers.
+  * checks/watch-file:
+    + [RA] Use a consistent way of displaying the line number of a problem.
 
   * collection/strings:
     + [ADB] Handle the fact that, when Lintian is run as root, the output of

-- 
Debian package checker


Reply to: