[devscripts] 01/02: deb-reversion: fix missing hook support for udebs

James McCoy jamessan at debian.org
Fri Aug 8 02:58:18 UTC 2014


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

jamessan pushed a commit to branch master
in repository devscripts.

commit d5d7fbe9b9fd5d7119ba0032cff86e3de7f479f1
Author: Cyril Brulebois <kibi at debian.org>
Date:   Fri Aug 8 01:32:50 2014 +0200

    deb-reversion: fix missing hook support for udebs
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog         | 9 +++++++++
 scripts/deb-reversion.sh | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1445224..24eb5cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+devscripts (2.14.7) UNRELEASED; urgency=low
+
+  * deb-reversion: update change_version(), fixing the missing call_hook
+    statement in the udeb case. That was overlooked when the changelog
+    massaging was made conditional, and causes hooks to be ignored for
+    udebs.
+
+ -- Cyril Brulebois <kibi at debian.org>  Fri, 08 Aug 2014 01:27:12 +0200
+
 devscripts (2.14.6) unstable; urgency=medium
 
   [ Benjamin Drung ]
diff --git a/scripts/deb-reversion.sh b/scripts/deb-reversion.sh
index de5af74..9c17b5a 100755
--- a/scripts/deb-reversion.sh
+++ b/scripts/deb-reversion.sh
@@ -183,6 +183,8 @@ change_version()
     dch $DCH_OPTIONS -v $VERSION -- $@
     call_hook
     gzip -9 -c debian/changelog >| $LOGFILE
+  else
+    call_hook
   fi
 
   sed -i -e "s,^Version: .*,Version: $VERSION," DEBIAN/control

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list