r77958 - /scripts/git-tag-pending-bugs

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jul 28 15:20:23 UTC 2011


Author: dmn
Date: Thu Jul 28 15:20:20 2011
New Revision: 77958

URL: http://svn.debian.org/wsvn/?sc=1&rev=77958
Log:
include the branch name in the notification message

Modified:
    scripts/git-tag-pending-bugs

Modified: scripts/git-tag-pending-bugs
URL: http://svn.debian.org/wsvn/scripts/git-tag-pending-bugs?rev=77958&op=diff
==============================================================================
--- scripts/git-tag-pending-bugs (original)
+++ scripts/git-tag-pending-bugs Thu Jul 28 15:20:20 2011
@@ -44,6 +44,10 @@
 
     $author = $1 if $line =~ /^Author: (.+) </;
 }
+
+my $branch = $git->command_oneline( branch => '--contains', $revision );
+
+$branch =~ s/^\* //;
 
 my @bugs;
 my $log_copy = $log;
@@ -95,7 +99,7 @@
         '',
         '',
         "Some bugs in the $package package are closed "
-            . "in revision $revision by $author"
+            . "in revision $revision in branch '$branch' by $author"
     ),
     "\n\n"
 );




More information about the Pkg-perl-cvs-commits mailing list