[LyX/master] Style

Richard Kimberly Heck rikiheck at lyx.org
Fri Dec 18 19:26:04 UTC 2020


commit bd306ae11810fec81d5b4925f62baf6fd7f3e5c8
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Fri Dec 18 14:37:58 2020 -0500

    Style
---
 src/VCBackend.cpp |    6 +++---
 src/VCBackend.h   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp
index 8f23927..13a8265 100644
--- a/src/VCBackend.cpp
+++ b/src/VCBackend.cpp
@@ -105,7 +105,7 @@ bool VCS::makeRCSRevision(string const &version, string &revis) const
 }
 
 
-bool VCS::checkparentdirs(FileName const & file, std::string const & vcsdir)
+bool VCS::checkParentDirs(FileName const & file, std::string const & vcsdir)
 {
 	FileName dirname = file.onlyPath();
 	do {
@@ -1167,7 +1167,7 @@ SVN::SVN(FileName const & m, Buffer * b) : VCS(b)
 FileName const SVN::findFile(FileName const & file)
 {
 	// First we check the existence of repository meta data.
-	if (!VCS::checkparentdirs(file, ".svn")) {
+	if (!VCS::checkParentDirs(file, ".svn")) {
 		LYXERR(Debug::LYXVC, "Cannot find SVN meta data for " << file);
 		return FileName();
 	}
@@ -1839,7 +1839,7 @@ GIT::GIT(FileName const & m, Buffer * b) : VCS(b)
 FileName const GIT::findFile(FileName const & file)
 {
 	// First we check the existence of repository meta data.
-	if (!VCS::checkparentdirs(file, ".git")) {
+	if (!VCS::checkParentDirs(file, ".git")) {
 		LYXERR(Debug::LYXVC, "Cannot find GIT meta data for " << file);
 		return FileName();
 	}
diff --git a/src/VCBackend.h b/src/VCBackend.h
index 6d4743b..07192d9 100644
--- a/src/VCBackend.h
+++ b/src/VCBackend.h
@@ -105,7 +105,7 @@ public:
 
 	/// Check the directory of file and all parent directories
 	/// for the existence of repository-info like .git or .svn
-	static bool checkparentdirs(support::FileName const & file, std::string const & vcsdir);
+	static bool checkParentDirs(support::FileName const & file, std::string const & vcsdir);
 
 protected:
 	/// parse information from the version file


More information about the lyx-cvs mailing list