Small glitch in RCS registering procedure, useless parse of wrong file (part of 5389).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27144 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-10-27 01:06:24 +00:00
parent 232564ed12
commit c697f9f6b9
2 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void LyXVC::registrer()
} else {
LYXERR(Debug::LYXVC, "LyXVC: registering "
<< to_utf8(filename.displayName()) << " with RCS");
vcs.reset(new RCS(filename));
vcs.reset(new RCS(FileName()));
}
vcs->owner(owner_);

View File

@ -102,6 +102,9 @@ void RCS::retrieve(FileName const & file)
void RCS::scanMaster()
{
if (master_.empty())
return;
LYXERR(Debug::LYXVC, "LyXVC::RCS: scanMaster: " << master_);
ifstream ifs(master_.toFilesystemEncoding().c_str());