}
-string const & LyXVC::locker() const
+bool LyXVC::locking() const
{
- return vcs->locker();
+ return vcs->status() != VCS::NOLOCKING;
}
return vcs && vcs->undoLastEnabled();
}
+bool LyXVC::prepareFileRevision(string const & rev, std::string & f)
+{
+ return vcs && vcs->prepareFileRevision(rev, f);
+}
+
+
+bool LyXVC::prepareFileRevisionEnabled()
+{
+ return vcs && vcs->prepareFileRevisionEnabled();
+}
} // namespace lyx