X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVCBackend.cpp;h=96b71d81ea32480fcd5c727a051264d1f22bc5ea;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=cec36fce065d83028f47363e77fa8204baba1b20;hpb=7779d469204ac8c83a60e5702142d79da7993380;p=lyx.git diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index cec36fce06..96b71d81ea 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -34,7 +34,6 @@ using namespace std; using namespace lyx::support; - namespace lyx { @@ -99,11 +98,11 @@ bool VCS::makeRCSRevision(string const &version, string &revis) const } -bool VCS::checkparentdirs(FileName const & file, std::string const & pathname) +bool VCS::checkparentdirs(FileName const & file, std::string const & vcsdir) { FileName dirname = file.onlyPath(); do { - FileName tocheck = FileName(addName(dirname.absFileName(), pathname)); + FileName tocheck = FileName(addName(dirname.absFileName(), vcsdir)); LYXERR(Debug::LYXVC, "check file: " << tocheck.absFileName()); if (tocheck.exists()) return true;