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
This commit is contained in:
Pavel Sanda 2008-07-21 00:18:19 +00:00
parent 12b1dbf77d
commit d37daf5e8a

View File

@ -96,7 +96,8 @@ void LyXVC::registrer()
// it is very likely here that the vcs is not created yet... // it is very likely here that the vcs is not created yet...
if (!vcs) { 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()) { if (cvs_entries.isReadableFile()) {
LYXERR(Debug::LYXVC, "LyXVC: registering " LYXERR(Debug::LYXVC, "LyXVC: registering "