Angus Leeming <[EMAIL PROTECTED]> writes: | How close is LyX's cvs support to working? > | Does it just need a lyxrc variable and LyXVC::registrer changing like this | (below)? If so, what should MASTER and FILENAME be set to? > | Angus > | void LyXVC::registrer() | { | // it is very likely here that the vcs is not created yet... | // so... we use RCS as default, later this should perhaps be | // a lyxrc option. | if (!vcs) { | switch (lyxrc.vcs) { | case LyXRC::RCS: | vcs = new RCS(owner_->fileName()); | break; > | case LyXRC::CVS: | vcs = new CVS(MASTER, FILENAME); | break; | } > | vcs->owner(owner_); | }
Hmm?? Isn't it working? Or is it only register that you wonder about? remember that a cvs register is a "cvs add", the master is CVS/Entries in the current dir. And if there are no CVS/Entries the user should not be allowed to register a new file... -- Lgb