]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.cpp
Ressurect RC cvs checking.
[lyx.git] / src / VCBackend.cpp
index eb9def38f175ca039829c958c3adce8d26e50625..89b7173e8984208161f316ef744169391fd7b12a 100644 (file)
@@ -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.