--- trunk/lib/Frey/SVK.pm 2008/12/02 22:05:25 690 +++ trunk/lib/Frey/SVK.pm 2008/12/02 22:26:16 699 @@ -125,7 +125,7 @@ }; $diff =~ s{^(===\s+)(\S+)$}{$1 . form($2,'revert') . qq| $2 | . form($2,'postpone') }gem; - $diff = qq|
$diff
|; + $diff = qq|
$diff
| if $diff; warn "diff_as_markup ",length($diff)," bytes"; return $diff; } @@ -162,9 +162,9 @@ return qq| Command $cmd produced output: - +
 			$out
-			
+			
|; } @@ -177,7 +177,8 @@ $self->title( 'svk' . ( $self->action ? ' - ' . $self->action : '' ) ); # XXX without this we get wrong icon and title - $html .= $self->commit_as_markup . $self->diff_as_markup; + $html .= $self->commit_as_markup . $self->diff_as_markup || + qq|No changes in tracked files|; warn "as_markup ",length($html)," bytes";