diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 61e31f5ac3..bf117d2494 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -600,7 +600,7 @@ string SVN::checkIn(string const & msg) fileLock(false, tmpf, log); tmpf.erase(); - return "SVN: " + log; + return log.empty() ? string() : "SVN: " + log; } @@ -695,7 +695,7 @@ string SVN::checkOut() fileLock(true, tmpf, log); tmpf.erase(); - return "SVN: " + log; + return log.empty() ? string() : "SVN: " + log; }