]> git.lyx.org Git - lyx.git/blobdiff - src/vc-backend.C
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / vc-backend.C
index 52b9a73f50f3f3bac7eb5351e18c8913bdea6ace..4b9218348e4d26d78f5ee36c457250cf04e4d1cd 100644 (file)
@@ -3,7 +3,6 @@
 #include "vc-backend.h"
 #include "debug.h"
 #include "buffer.h"
-#include "BufferView.h"
 #include "frontends/LyXView.h"
 #include "funcrequest.h"
 
@@ -17,6 +16,8 @@
 
 #include <fstream>
 
+using namespace lyx::support;
+
 #ifndef CXX_GLOBAL_CSTD
 using std::asctime;
 using std::gmtime;
@@ -45,15 +46,6 @@ int VCS::doVCCommand(string const & cmd, string const & path)
 }
 
 
-void VCS::reload()
-{
-       owner_->getUser()->reload();
-       /* Watch out ! We have deleted ourselves here
-        * via the ->reload() !
-        */
-}
-
-
 RCS::RCS(string const & m)
 {
        master_ = m;
@@ -178,7 +170,6 @@ void RCS::checkIn(string const & msg)
        doVCCommand("ci -q -u -m\"" + msg + "\" \""
                    + OnlyFilename(owner_->fileName()) + '"',
                    owner_->filePath());
-       reload();
 }
 
 
@@ -188,7 +179,6 @@ void RCS::checkOut()
        doVCCommand("co -q -l \""
                    + OnlyFilename(owner_->fileName()) + '"',
                    owner_->filePath());
-       reload();
 }
 
 
@@ -199,7 +189,6 @@ void RCS::revert()
                    owner_->filePath());
        // We ignore changes and just reload!
        owner_->markClean();
-       reload();
 }
 
 
@@ -308,7 +297,6 @@ void CVS::registrer(string const & msg)
        doVCCommand("cvs -q add -m \"" + msg + "\" \""
                    + OnlyFilename(owner_->fileName()) + '"',
                    owner_->filePath());
-       reload();
 }
 
 
@@ -317,7 +305,6 @@ void CVS::checkIn(string const & msg)
        doVCCommand("cvs -q commit -m \"" + msg + "\" \""
                    + OnlyFilename(owner_->fileName()) + '"',
                    owner_->filePath());
-       reload();
 }
 
 
@@ -337,7 +324,6 @@ void CVS::revert()
        doVCCommand("rm -f \"" + fil + "\"; cvs update \"" + fil + '"',
                    owner_->filePath());
        owner_->markClean();
-       reload();
 }