X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVCBackend.cpp;h=1c8520e7a23d0bed4950803a32ca809f2abf3b35;hb=c5220d394513bb5c2b59bac2b1c318e1502a9964;hp=bc47719480488acfadb71e80ff61652253c713ed;hpb=d4fb2ac2acb39c56b4074b875d9e837243d42689;p=lyx.git diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index bc47719480..1c8520e7a2 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -43,7 +43,7 @@ int VCS::doVCCommandCall(string const & cmd, FileName const & path) LYXERR(Debug::LYXVC, "doVCCommandCall: " << cmd); Systemcall one; support::PathChanger p(path); - return one.startscript(Systemcall::Wait, cmd, false); + return one.startscript(Systemcall::Wait, cmd, string(), false); } @@ -369,7 +369,7 @@ bool RCS::prepareFileRevision(string const &revis, string & f) FileName tmpf = FileName::tempName("lyxvcrev_" + rev + "_"); if (tmpf.empty()) { LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); - return N_("Error: Could not generate logfile."); + return false; } doVCCommand("co -p" + rev + " " @@ -1024,7 +1024,7 @@ bool SVN::checkLockMode() FileName tmpf = FileName::tempName("lyxvcout"); if (tmpf.empty()){ LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); - return N_("Error: Could not generate logfile."); + return false; } LYXERR(Debug::LYXVC, "Detecting locking mode..."); @@ -1402,7 +1402,7 @@ bool SVN::getFileRevisionInfo() FileName tmpf = FileName::tempName("lyxvcout"); if (tmpf.empty()) { LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); - return N_("Error: Could not generate logfile."); + return false; } doVCCommand("svn info --xml " + quoteName(onlyFileName(owner_->absFileName())) @@ -1455,7 +1455,7 @@ bool SVN::getTreeRevisionInfo() FileName tmpf = FileName::tempName("lyxvcout"); if (tmpf.empty()) { LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); - return N_("Error: Could not generate logfile."); + return false; } doVCCommand("svnversion -n . > " + quoteName(tmpf.toFilesystemEncoding()),