From: <xm...@us...> - 2008-04-08 05:12:04
|
Revision: 7995 http://docbook.svn.sourceforge.net/docbook/?rev=7995&view=rev Author: xmldoc Date: 2008-04-07 22:11:58 -0700 (Mon, 07 Apr 2008) Log Message: ----------- er, we do actually still want to strip out the date if it's at the very beginning of the message (not just if at the beginning of a line.. Modified Paths: -------------- trunk/contrib/tools/svn2twitter/svn2twitter Modified: trunk/contrib/tools/svn2twitter/svn2twitter =================================================================== --- trunk/contrib/tools/svn2twitter/svn2twitter 2008-04-08 03:45:33 UTC (rev 7994) +++ trunk/contrib/tools/svn2twitter/svn2twitter 2008-04-08 05:11:58 UTC (rev 7995) @@ -42,7 +42,8 @@ #} my $message = $revs->[0]{message}; chomp $message; -# strip out any date at the beginning of a line +# strip out any date at beginning message and beginning of line +$message =~ s/^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] //g; $message =~ s/\n[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] //g; #my @paths = keys %{$revs->[0]{paths}}; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |