From 68e60f95d3ec3e1b80da986c120293e97151ddad Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Fri, 18 Dec 2020 14:51:56 -0500 Subject: [PATCH] Remove unused file output --- src/VCBackend.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 93b55e4218..c7ef6e6551 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -1175,17 +1175,9 @@ FileName const SVN::findFile(FileName const & file) } // Now we check the status of the file. - TempFile tempfile("lyxvcout"); - FileName tmpf = tempfile.name(); - if (tmpf.empty()) { - LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf); - return FileName(); - } - string const fname = onlyFileName(file.absFileName()); LYXERR(Debug::LYXVC, "LyXVC: Checking if file is under svn control for `" << fname << '\''); - bool found = 0 == doVCCommandCall("svn info " + quoteName(fname) - + " > " + quoteName(tmpf.toFilesystemEncoding()), + bool found = 0 == doVCCommandCall("svn info " + quoteName(fname), file.onlyPath()); LYXERR(Debug::LYXVC, "SVN control: " << (found ? "enabled" : "disabled")); return found ? file : FileName();