X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FVCBackend.h;h=e0f6266513f0a60553761d07481a93c90f89ad5e;hb=6ec6db8cd9073bcb856e6a055d12ff95802e22be;hp=ed4201a0838f2345e0eafaebbc3b06131a38c18c;hpb=05551a7cfba74d39d27aa6544226fe48d6c9e4dc;p=lyx.git diff --git a/src/VCBackend.h b/src/VCBackend.h index ed4201a083..e0f6266513 100644 --- a/src/VCBackend.h +++ b/src/VCBackend.h @@ -129,7 +129,8 @@ protected: * @param path the path from which to execute * @return exit status */ - static int doVCCommandCall(std::string const & cmd, support::FileName const & path); + static int doVCCommandCall(std::string const & cmd, + support::FileName const & path = support::FileName()); /// The status of the VC controlled file. VCStatus vcstatus_; @@ -153,7 +154,7 @@ public: /// get file from repo, the caller must ensure that it does not exist locally static bool retrieve(support::FileName const & file); - std::string vcname() const override { return "RCS"; }; + std::string vcname() const override { return "RCS"; } void registrer(std::string const & msg) override; @@ -246,7 +247,7 @@ public: /// get file from repo, the caller must ensure that it does not exist locally static bool retrieve(support::FileName const & file); - std::string vcname() const override { return "CVS"; }; + std::string vcname() const override { return "CVS"; } void registrer(std::string const & msg) override; @@ -392,7 +393,7 @@ public: /// get file from repo, the caller must ensure that it does not exist locally static bool retrieve(support::FileName const & file); - std::string vcname() const override { return "SVN"; }; + std::string vcname() const override { return "SVN"; } void registrer(std::string const & msg) override; @@ -503,7 +504,7 @@ public: /// get file from repo, the caller must ensure that it does not exist locally static bool retrieve(support::FileName const & file); - std::string vcname() const override { return "GIT"; }; + std::string vcname() const override { return "GIT"; } void registrer(std::string const & msg) override;