]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Style. Enum names and typedefs are almost always CamelCase in the LyX
[lyx.git] / src / VCBackend.cpp
index 61e31f5ac313fcf52dda8c4b176d96b3cd71d991..422483347c303bf234c1f5b8ced66a42290218bc 100644 (file)
@@ -273,7 +273,11 @@ void RCS::getLog(FileName const & tmpf)
 
 bool RCS::toggleReadOnlyEnabled()
 {
-       return true;
+       // This got broken somewhere along lfuns dispatch reorganization.
+       // reloadBuffer would be needed after this, but thats problematic
+       // since we are inside Buffer::dispatch.
+       // return true;
+       return false;
 }
 
 
@@ -600,7 +604,7 @@ string SVN::checkIn(string const & msg)
                fileLock(false, tmpf, log);
 
        tmpf.erase();
-       return "SVN: " + log;
+       return log.empty() ? string() : "SVN: " + log;
 }
 
 
@@ -695,7 +699,7 @@ string SVN::checkOut()
        fileLock(true, tmpf, log);
 
        tmpf.erase();
-       return "SVN: " + log;
+       return log.empty() ? string() : "SVN: " + log;
 }