The following commit has been merged in the master branch:
commit e9ca8e2a739a705080e8f40fd582a872f7be50cc
Author: Adam D. Barratt <[email protected]>
Date: Tue Feb 21 21:38:46 2012 +0000
deb-reversion: Correctly handle cases where no changelog file was found
This will occur if debian/changelog has been symlinked betweek packages,
for example. (Closes: #660788)
diff --git a/debian/changelog b/debian/changelog
index 4775682..11a0d73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,12 @@
devscripts (2.11.5) UNRELEASED; urgency=low
[ Adam D. Barratt ]
- * deb-reversion: Re-fix handling of multi-word hooks. (Closes: #660782).
- This was originally fixed in 2.9.14 but accidentally broken again in
- 2.9.26.
+ * deb-reversion:
+ + Re-fix handling of multi-word hooks. (Closes: #660782).
+ This was originally fixed in 2.9.14 but accidentally broken again in
+ 2.9.26.
+ + Correctly handle cases where a changelog file was not found, possibly
+ because of the use of symlinks. (Closes: #660788)
[ Jakub Wilk ]
* deb-reversion: Simplify option parsing, also allowing simpler quoting of
diff --git a/scripts/deb-reversion.sh b/scripts/deb-reversion.sh
index a31d175..16b7f4d 100755
--- a/scripts/deb-reversion.sh
+++ b/scripts/deb-reversion.sh
@@ -168,6 +168,7 @@ change_version()
{
PACKAGE=$(sed -ne 's,^Package: ,,p' DEBIAN/control)
VERSION=$1
+ LOGFILE=
for i in changelog{,.Debian}.gz; do
[ -f usr/share/doc/${PACKAGE}/$i ] \
&& LOGFILE=usr/share/doc/${PACKAGE}/$i
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].