commit 750af391396ee60c95e20f3cf5ac06b1804860b5
Author: Richard Kimberly Heck <[email protected]>
Date: Fri Dec 18 15:53:45 2020 -0500
Comment
---
src/LyXVC.cpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/LyXVC.cpp b/src/LyXVC.cpp
index ed0a799..b18bcdf 100644
--- a/src/LyXVC.cpp
+++ b/src/LyXVC.cpp
@@ -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();
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs