SF.net SVN: geany:[4083] trunk/scripts/changelist.pl
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Aug 14 15:09:22 UTC 2009
Revision: 4083
http://geany.svn.sourceforge.net/geany/?rev=4083&view=rev
Author: ntrel
Date: 2009-08-14 15:09:21 +0000 (Fri, 14 Aug 2009)
Log Message:
-----------
Handle " * foo.c: Combined line." lines (without wrapping with previous lines).
Modified Paths:
--------------
trunk/scripts/changelist.pl
Modified: trunk/scripts/changelist.pl
===================================================================
--- trunk/scripts/changelist.pl 2009-08-14 13:50:41 UTC (rev 4082)
+++ trunk/scripts/changelist.pl 2009-08-14 15:09:21 UTC (rev 4083)
@@ -19,6 +19,7 @@
# src/another.c:
# Some change description,
# spanning several lines.
+# * foo.c: Combined line.
use strict;
use warnings;
@@ -84,7 +85,13 @@
($line =~ m/ \* /) and $fl = 1;
# join filelist together on one line
$fl and ($line =~ s/^ / /);
- $fl and ($line =~ m/:/) and $fl = 0;
+ if ($fl and ($line =~ m/:/)){
+ $fl = 0;
+ # separate ' * foo.c: Some edit.' messages:
+ if (!($line =~ m/:$/)) {
+ ($line =~ s/:/:\n*/);
+ }
+ }
$fl and ($line =~ m/,$/) or $fl = 0;
}
if (!$flset){
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list