]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
SVN: Return an empty string when the log message is empty.
[lyx.git] / src / VCBackend.cpp
index 61e31f5ac313fcf52dda8c4b176d96b3cd71d991..bf117d249462f3e94d3b4d8b0afae8da2f1afddf 100644 (file)
@@ -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;
 }