]> granicus.if.org Git - docbook-dsssl/commitdiff
er, we do actually still want to strip out the date if it's at the very beginning...
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 8 Apr 2008 05:11:58 +0000 (05:11 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 8 Apr 2008 05:11:58 +0000 (05:11 +0000)
contrib/tools/svn2twitter/svn2twitter

index 44e50c5641c68d1186c24ef6776ce4e9d35da48b..2e41215209ccfed63f8d13a8a1c657038031a244 100755 (executable)
@@ -42,7 +42,8 @@ $author =~ s/^([^@]+)@.+$/$1/;
 #}
 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}};