Logbuch/HG.pm
changeset 55 a26ac4455cc5
parent 48 a1b051269c2e
child 56 3c33846e5686
--- a/Logbuch/HG.pm	Wed Sep 21 07:41:09 2011 +0200
+++ b/Logbuch/HG.pm	Tue Aug 28 09:06:35 2012 +0200
@@ -120,7 +120,7 @@
     my $path = $self->get_repo() . "/";
     $result[1] =~ s/^([^\s]+)(\s+)(.*)$/${1}${2}${path}${3}/mg;
 
-    return $result[1];
+    return "$result[1]\n" if $result[1];
 }