mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
VCS: copy-paste error, these functions return bool.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39228 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7252ebbb34
commit
c5220d3945
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user