[llvm-commits] CVS: CVSROOT/commit-diffs.pl

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 15 23:15:01 PST 2004


Changes in directory CVSROOT:

commit-diffs.pl updated: 1.51 -> 1.52

---
Log message:

Yes I suck at perl.  Despite that, here's an attempt to autolinkify PR/Bug
identifiers when commits go in.


---
Diffs of the changes:  (+2 -0)

Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.51 CVSROOT/commit-diffs.pl:1.52
--- CVSROOT/commit-diffs.pl:1.51	Thu Jan 29 19:25:26 2004
+++ CVSROOT/commit-diffs.pl	Mon Mar 15 23:14:19 2004
@@ -88,6 +88,8 @@
 
 foreach $s (@loginfodata) {
   if ($islogmessage) {
+    $s =~ s/([bB][uU][gG]\s*([0-9]+))/$1 (http://llvm.cs.uiuc.edu/PR$2)/g;
+    $s =~ s/([pP][rR]\s*([0-9]+))/$1 (http://llvm.cs.uiuc.edu/PR$2)/g;
     @logmessage = (@logmessage, $s);
     next;
   }





More information about the llvm-commits mailing list