Stephan Witt <[EMAIL PROTECTED]> writes: | Dear LyX-Developers, > | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. > | We're using CVS at our site for managing revision control | of our documents. So I had a look in src/vc-backend.C to | see if I can make a working implementation of CVS::checkOut(). > | The attached patch contains two things: | 1) the mentioned functionality of CVS checkOut
I am not sure this is a good idea. Do you actually use "cvs edit" when editing a file? Why not "cvs checkout" btw? And do you actually use it? | 2) a change in filename quoting Does this fix a problem? Even in 1.4 I would be wary of changing this at this stage, unless it fixes a real experienced problem. | @@ -327,7 +326,10 @@ void CVS::checkIn(string const & msg) | void CVS::checkOut() | { | // cvs update or perhaps for cvs this should be a noop | - lyxerr << "Sorry not implemented." << endl; | + doVCCommand("cvs -q edit " | + + QuoteName(OnlyFilename(owner_->fileName())), | + owner_->filePath()); | + reload(); | } -- Lgb