]> git.lyx.org Git - features.git/commitdiff
SVN: Return an empty string when the log message is empty.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 23 Dec 2009 23:06:07 +0000 (23:06 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 23 Dec 2009 23:06:07 +0000 (23:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32627 a592a061-630c-0410-9148-cb99ea01b6c8

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;
 }