Author: schoenfeld
Date: 2009-07-21 13:03:17 +0000 (Tue, 21 Jul 2009)
New Revision: 1933
Modified:
trunk/debian/changelog
trunk/scripts/nmudiff.sh
Log:
nmudiff: Use 'bts select' to test, weither a check already has a patch
tag set or not and only set it, if not (Closes: #519678)
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-07-21 12:28:56 UTC (rev 1932)
+++ trunk/debian/changelog 2009-07-21 13:03:17 UTC (rev 1933)
@@ -33,8 +33,10 @@
of GPG output (Closes: #525670)
* licensecheck: Skip empty files instead of reporting that they don't
have a copyright (Closes: #535337)
+ * nmudiff: Use 'bts select' to test, weither a check already has a patch
+ tag set or not and only set it, if not (Closes: #519678)
- -- Patrick Schoenfeld <[email protected]> Tue, 21 Jul 2009 14:08:26 +0200
+ -- Patrick Schoenfeld <[email protected]> Tue, 21 Jul 2009 15:01:22 +0200
devscripts (2.10.52) unstable; urgency=low
Modified: trunk/scripts/nmudiff.sh
===================================================================
--- trunk/scripts/nmudiff.sh 2009-07-21 12:28:56 UTC (rev 1932)
+++ trunk/scripts/nmudiff.sh 2009-07-21 13:03:17 UTC (rev 1933)
@@ -324,8 +324,10 @@
TO_ADDRESSES_SENDMAIL="$TO_ADDRESSES_SENDMAIL,
[email protected]"
TO_ADDRESSES_MUTT="$TO_ADDRESSES_MUTT [email protected]"
- TAGS="$TAGS
+ if [ "`bts select bugs:$b tag:patch`" != "$b" ]; then
+ TAGS="$TAGS
tags $b + patch"
+ fi
done
TO_ADDRESSES_SENDMAIL=$(echo "$TO_ADDRESSES_SENDMAIL" | tail -n +2)
TAGS=$(echo "$TAGS" | tail -n +2)
--
To unsubscribe, send mail to [email protected].