]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.h
Correct tex2lyx/roundtrip/test-structure.tex test.
[lyx.git] / src / VCBackend.h
index f0851cb46d489c86690afc5d772e18fb153509fd..042d26e9fd265e6f5f99db26ef9c1ceba81be65c 100644 (file)
@@ -35,7 +35,7 @@ public:
                NOLOCKING,
        };
 
-       VCS(Buffer * b) : owner_(b) {}
+       VCS(Buffer * b) : vcstatus(NOLOCKING), owner_(b) {}
        virtual ~VCS() {}
 
        /// register a file for version control
@@ -102,8 +102,8 @@ public:
        virtual bool prepareFileRevisionEnabled() = 0;
 
        /// Check the directory of file and all parent directories
-       /// for the existence of the given pathname
-       static bool checkparentdirs(support::FileName const & file, std::string const & pathname);
+       /// for the existence of repository-info like .git or .svn
+       static bool checkparentdirs(support::FileName const & file, std::string const & vcsdir);
        
 protected:
        /// parse information from the version file