mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Comment
This commit is contained in:
parent
fdbbddecb7
commit
750af39139
@ -98,9 +98,10 @@ bool LyXVC::file_found_hook(FileName const & fn)
|
||||
|
||||
bool LyXVC::file_not_found_hook(FileName const & fn)
|
||||
{
|
||||
// Check if file is under RCS.
|
||||
// This happens if we are trying to load non existent
|
||||
// file on disk, but existent in ,v version.
|
||||
// Check if file is under version control.
|
||||
// This happens if we are trying to load does not exist.
|
||||
// It may yet exist in the repository and so could be
|
||||
// checked out.
|
||||
bool foundRCS = !RCS::findFile(fn).empty();
|
||||
bool foundCVS = foundRCS ? false : !CVS::findFile(fn).empty();
|
||||
bool foundSVN = (foundRCS || foundCVS) ? false : !SVN::findFile(fn).empty();
|
||||
|
Loading…
Reference in New Issue
Block a user