]> git.lyx.org Git - lyx.git/commitdiff
Ressurect RC cvs checking.
authorPavel Sanda <sanda@lyx.org>
Sun, 20 Jul 2008 21:49:58 +0000 (21:49 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 20 Jul 2008 21:49:58 +0000 (21:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25740 a592a061-630c-0410-9148-cb99ea01b6c8

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.