]> git.lyx.org Git - lyx.git/blobdiff - src/LyXVC.cpp
Now update layout format.
[lyx.git] / src / LyXVC.cpp
index 5d3a49fdd935e29e07e36f2c6da73e7b3c9395e1..741abf9854b10320942831ee011fe81be3ee0c0d 100644 (file)
@@ -282,7 +282,7 @@ string const LyXVC::getLogFile() const
 }
 
 
-std::string LyXVC::revisionInfo(RevisionInfo const info)
+string LyXVC::revisionInfo(RevisionInfo const info) const
 {
        if (!vcs)
                return string();
@@ -314,6 +314,13 @@ bool LyXVC::undoLastEnabled() const
        return vcs && vcs->undoLastEnabled();
 }
 
+
+bool LyXVC::repoUpdateEnabled() const
+{
+       return vcs && vcs->repoUpdateEnabled();
+}
+       
+       
 bool LyXVC::prepareFileRevision(string const & rev, std::string & f)
 {
        return vcs && vcs->prepareFileRevision(rev, f);