]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.h
Fix bug #12772
[lyx.git] / src / VCBackend.h
index ed4201a0838f2345e0eafaebbc3b06131a38c18c..e0f6266513f0a60553761d07481a93c90f89ad5e 100644 (file)
@@ -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;