This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository debsums.

commit 71dc3bef8d3944ff0997228f014cd8bf422f502d
Author: Ryan Niebur <ryanrya...@gmail.com>
Date:   Sat Sep 5 00:36:20 2009 -0700

    simplify the output for missing/changed files in silent mode (Closes: 
#524650)
---
 debian/changelog | 4 +++-
 debsums.in       | 8 ++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 34324eb..59f53f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,8 +14,10 @@ debsums (2.0.47) UNRELEASED; urgency=low
     #536576)
   * fix manpage problems (Closes: #538293)
   * add spanish translation, thanks to Omar Campagne (Closes: #541783)
+  * simplify the output for missing/changed files in silent mode
+    (Closes: #524650)
 
- -- Ryan Niebur <ryanrya...@gmail.com>  Thu, 03 Sep 2009 22:20:27 -0700
+ -- Ryan Niebur <ryanrya...@gmail.com>  Sat, 05 Sep 2009 00:37:26 -0700
 
 debsums (2.0.46) unstable; urgency=low
 
diff --git a/debsums.in b/debsums.in
index af6bc62..980c286 100755
--- a/debsums.in
+++ b/debsums.in
@@ -286,7 +286,11 @@ sub is_replaced
               warn $err unless($silent);
               return 0;
             } else {
-              warn $err;
+              if($!{ENOENT}) {
+                warn "$self: missing file $root/$path (from $pack package)\n";
+              } else {
+                warn $err;
+              }
               return 2;
             }
        }
@@ -348,7 +352,7 @@ sub is_replaced
 
        if ($silent)
        {
-           warn "$self: checksum mismatch $pack file $root/$path\n";
+            warn "$self: changed file $root/$path (from $pack package)\n";
        }
        else
        {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/debsums.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to