[Bps-public-commit] r17618 - Prophet/trunk/lib/Prophet
jesse at bestpractical.com
jesse at bestpractical.com
Wed Jan 7 17:21:07 EST 2009
Author: jesse
Date: Wed Jan 7 17:21:07 2009
New Revision: 17618
Modified:
Prophet/trunk/lib/Prophet/ChangeSet.pm
Log:
* slightly display how we show prophet history from the cli.
Modified: Prophet/trunk/lib/Prophet/ChangeSet.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/ChangeSet.pm (original)
+++ Prophet/trunk/lib/Prophet/ChangeSet.pm Wed Jan 7 17:21:07 2009
@@ -226,7 +226,7 @@
return '' if !$body && $args{'skip_empty'};
my $header = $args{header_callback} ? $args{header_callback}->($self) : $self->description_as_string;
- my $out = $header ."\n".$body."\n";
+ my $out = $header .$body;
return $out;
}
@@ -238,8 +238,7 @@
sub description_as_string {
my $self = shift;
- sprintf "Change %d by %s at %s\n\t\t\t\t\(%d@%s)\n\n",
- $self->sequence_no,
+ sprintf " %s at %s\t\(%d@%s)\n",
( $self->creator || '(unknown)' ),
$self->created,
$self->original_sequence_no,
More information about the Bps-public-commit
mailing list