commit 68e60f95d3ec3e1b80da986c120293e97151ddad
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Fri Dec 18 14:51:56 2020 -0500

    Remove unused file output
---
 src/VCBackend.cpp |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp
index 93b55e4..c7ef6e6 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();
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to