]> git.lyx.org Git - lyx.git/blobdiff - src/VCBackend.h
Correct tex2lyx/roundtrip/test-structure.tex test.
[lyx.git] / src / VCBackend.h
index ab7f52fd9d6399bc06a71172d5034b18da1f5472..042d26e9fd265e6f5f99db26ef9c1ceba81be65c 100644 (file)
@@ -33,12 +33,9 @@ public:
                UNLOCKED,
                LOCKED,
                NOLOCKING,
-               /// This file is not in version control, but it could be aded
-               /// (because the path is under version control)
-               UNVERSIONED,
        };
 
-       VCS(Buffer * b) : owner_(b) {}
+       VCS(Buffer * b) : vcstatus(NOLOCKING), owner_(b) {}
        virtual ~VCS() {}
 
        /// register a file for version control
@@ -105,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