]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Compile fix.
[lyx.git] / src / VCBackend.cpp
index 493ff91ba1355b8eaec05dc8326e1ad06a260de4..f2057cd360441051e0cf8a94c5ed080ae28dfe26 100644 (file)
@@ -443,7 +443,9 @@ string const CVS::getTarget(OperationMode opmode) const
 {
        switch(opmode) {
        case Directory:
-               return quoteName(owner_->filePath());
+               // in client server mode CVS does not like full path operand for directory operation
+               // since LyX switches to the repo dir "." is good enough as target
+               return ".";
        case File:
                return quoteName(onlyFileName(owner_->absFileName()));
        }