cmtcvs



The C++ version of the CVS plugin for CMT

The original version of the CVS plugin for CMT is implemented in shell script. However, in some cases, the performance issues impose to use a compiled version instead. This is particularly appropriate when the repository is accessed through any CVS server mechanism, sinc in this case, the only one machine accesses the repository.

Here you can download the sources of this C++ implementation. This is a CMT package that must be built and installed as follows:

  1. retreiving the plugin sources
    
    
    > [ fetch the tar file ]
    > tar xzvf cmtcvsv1r1.tar.gz
    
                      
  2. building the pluggin
    
    
    > cd cmtcvs/v1r1/cmt
    > cmt config
    ksh> export CMTROOT=`uname`
    csh> setenv CMTROOT `uname`
    > source setup.[c]sh
    > gmake
    
                      
  3. installing the pluggin into CVS
    
    
    > mkdir /tmp/cmtcvsinfos
    > cd /tmp/cmtcvsinfos
    > cvs import -m "Installing the CVS pluggin" .cmtcvsinfos CMT v1r1
    > rmdir /tmp/cmtcvsinfos
    
    
    > cvs co CVSROOT 
    > cd CVSROOT
    > vi loginfo
    ...
    .cmtcvsinfos (<absolute location of the pluggin>/cmtcvs.exe %s)
    
       example at CERN:
    
    .cmtcvsinfos (/afs/cern.ch/sw/contrib/CMT/cmtcvs/v1r1/`uname`/cmtcvs.exe %s)
    
    > cvs commit -m "Installing the CVS pluggin for CMT"
    > cd ../
    > cvs release -d CVSROOT