From d37daf5e8adb25f082d827c59e75fdc726cefa91 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 21 Jul 2008 00:18:19 +0000 Subject: [PATCH] Set cvs registration process to the document directory. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25747 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXVC.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp index 930680b33b..b79d4f9426 100644 --- a/src/LyXVC.cpp +++ b/src/LyXVC.cpp @@ -96,7 +96,8 @@ void LyXVC::registrer() // it is very likely here that the vcs is not created yet... if (!vcs) { - FileName const cvs_entries(makeAbsPath("CVS/Entries")); + //check in the root directory of the document + FileName const cvs_entries(onlyPath(filename.absFilename()) + "/CVS/Entries"); if (cvs_entries.isReadableFile()) { LYXERR(Debug::LYXVC, "LyXVC: registering "