]> git.lyx.org Git - features.git/commitdiff
Style
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 18 Dec 2020 19:37:58 +0000 (14:37 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 18 Dec 2020 19:37:58 +0000 (14:37 -0500)
src/VCBackend.cpp
src/VCBackend.h

index 8f23927e893153dbb96bb75ef97a476af99749cc..13a826599403c69259a3a282e5ed2d927e749c1f 100644 (file)
@@ -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();
        }
index 6d4743b35f2e58379e60d7b00fbc77c141980dbe..07192d94d7b9f6a64ba4bd05b45a85ddb26550fa 100644 (file)
@@ -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