X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVCBackend.cpp;h=89b7173e8984208161f316ef744169391fd7b12a;hb=31da3492d0ac9b9a51e36d7b1e18b1909d614726;hp=eb9def38f175ca039829c958c3adce8d26e50625;hpb=19b6a34be3630d17951aa7480d47fcad0f298e73;p=lyx.git diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index eb9def38f1..89b7173e89 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -221,7 +221,7 @@ FileName const CVS::findFile(FileName const & file) string const tmpf = '/' + onlyFilename(file.absFilename()) + '/'; LYXERR(Debug::LYXVC, "LyXVC: Checking in `" << dir << "' for `" << tmpf << '\''); - if (dir.isReadableDirectory()) { + if (dir.isReadableFile()) { // Ok we are at least in a CVS dir. Parse the CVS/Entries // and see if we can find this file. We do a fast and // dirty parse here.