mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
Forgotten. There should be some oneliner for substituting all these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33442 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
91867cc624
commit
d5f77d6dc2
@ -897,6 +897,10 @@ string SVN::revisionInfo(LyXVC::RevisionInfo const info)
|
||||
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.");
|
||||
}
|
||||
|
||||
doVCCommand("svn info --xml " + quoteName(onlyFilename(owner_->absFileName()))
|
||||
+ " > " + quoteName(tmpf.toFilesystemEncoding()),
|
||||
@ -946,6 +950,10 @@ bool SVN::getFileRevisionInfo()
|
||||
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.");
|
||||
}
|
||||
|
||||
doVCCommand("svnversion -n . > " + quoteName(tmpf.toFilesystemEncoding()),
|
||||
FileName(owner_->filePath()));
|
||||
|
Loading…
Reference in New Issue
Block a user