X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVCBackend.cpp;h=0d96692328b871293101e6492b27c3985a6a6d54;hb=4056f0ddb150d0e5d60bc5941d51e365eed0ac86;hp=0fd2094822a42b5a09ba3afa5273ffe968e496b7;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 0fd2094822..0d96692328 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -11,45 +11,26 @@ #include #include "VCBackend.h" -#include "support/debug.h" #include "Buffer.h" -#include "support/Path.h" +#include "support/debug.h" #include "support/filetools.h" #include "support/lstrings.h" +#include "support/Path.h" #include "support/Systemcall.h" #include #include - -namespace lyx { - -using support::addName; -using support::addPath; -using support::contains; -using support::FileName; -using support::onlyFilename; -using support::onlyPath; -using support::quoteName; -using support::rtrim; -using support::split; -using support::Systemcall; +using namespace std; +using namespace lyx::support; using boost::regex; using boost::regex_match; using boost::smatch; -#ifndef CXX_GLOBAL_CSTD -using std::asctime; -using std::gmtime; -#endif - -using std::endl; -using std::getline; -using std::string; -using std::ifstream; +namespace lyx { int VCS::doVCCommand(string const & cmd, FileName const & path)