mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
add debug messages to VCS::checkparentdirs (ticket #8295)
This commit is contained in:
parent
4950bb5ebc
commit
4f1fb3f6d1
@ -102,9 +102,11 @@ bool VCS::checkparentdirs(FileName const & file, std::string const & pathname)
|
|||||||
{
|
{
|
||||||
FileName dirname = file.onlyPath();
|
FileName dirname = file.onlyPath();
|
||||||
FileName tocheck = FileName(addName(dirname.absFileName(),pathname));
|
FileName tocheck = FileName(addName(dirname.absFileName(),pathname));
|
||||||
|
LYXERR(Debug::LYXVC, "check file: " << tocheck.absFileName());
|
||||||
bool result = tocheck.exists();
|
bool result = tocheck.exists();
|
||||||
while ( !result && !dirname.empty() ) {
|
while ( !result && !dirname.empty() ) {
|
||||||
dirname = dirname.parentPath();
|
dirname = dirname.parentPath();
|
||||||
|
LYXERR(Debug::LYXVC, "check directory: " << dirname.absFileName());
|
||||||
tocheck = FileName(addName(dirname.absFileName(),pathname));
|
tocheck = FileName(addName(dirname.absFileName(),pathname));
|
||||||
result = tocheck.exists();
|
result = tocheck.exists();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user