[Bps-public-commit] App-Changeloggr branch, master, updated. c1e8bc3d2e3308b42f9bab7c9ecbbddcab2a846e
sartak at bestpractical.com
sartak at bestpractical.com
Wed May 27 15:46:41 EDT 2009
The branch, master has been updated
via c1e8bc3d2e3308b42f9bab7c9ecbbddcab2a846e (commit)
from 2f266c1bf6357146bebc629da83cdcba670b933c (commit)
Summary of changes:
lib/App/Changeloggr/InputFormat/Subversion.pm | 2 +-
lib/App/Changeloggr/InputFormat/SubversionXML.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit c1e8bc3d2e3308b42f9bab7c9ecbbddcab2a846e
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed May 27 15:46:33 2009 -0400
Strip detritus from svn and svn-xml imports
diff --git a/lib/App/Changeloggr/InputFormat/Subversion.pm b/lib/App/Changeloggr/InputFormat/Subversion.pm
index 8b7630f..cc4d74a 100644
--- a/lib/App/Changeloggr/InputFormat/Subversion.pm
+++ b/lib/App/Changeloggr/InputFormat/Subversion.pm
@@ -38,7 +38,7 @@ sub next_match {
$fields{identifier} = $2;
$fields{author} = $3;
$fields{date} = DATE_PARSER->parse_datetime($4);
- $fields{message} = $5;
+ $fields{message} = $self->strip_detritus($5);
return \%fields;
}
diff --git a/lib/App/Changeloggr/InputFormat/SubversionXML.pm b/lib/App/Changeloggr/InputFormat/SubversionXML.pm
index 7551bf8..d9da812 100644
--- a/lib/App/Changeloggr/InputFormat/SubversionXML.pm
+++ b/lib/App/Changeloggr/InputFormat/SubversionXML.pm
@@ -26,7 +26,7 @@ sub next_match {
identifier => $_->{revision},
author => $_->{author},
date => DATE_PARSER->parse_datetime( $_->{date} ),
- message => $_->{msg},
+ message => $self->strip_detritus($_->{msg}),
raw => XMLout($_, NoAttr => 1), # Rather a hack
};
} @{ $data->{logentry} }];
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list