Installing commitlog.py on a Windows CVS Server

  1. First you will need to install Python. You can get a simple Windows Python install from here:
    http://www.activestate.com/Products/ActivePython/
    You will also need a command line equivilant to UNIX "tail" in order for users to see the end of the commitlog easily. You can get these here:
    http://www.cmdtools.com/cmdpack.exe
  2. After that, you will need setup the script as a CVS handler:
    > cvs co CVSROOT
    > cd CVSROOT
    > mkdir commitinfo
    > cvs add commitinfo
    > cvs commit -m "added commitinfo dir"
    
  3. edit CVSROOT/loginfo and add the following line:
    ALL C:\py20\python.exe c:\py20\scripts\commitlog.py c:\my_cvs_dir\CVSROOT\commitinfo
  4. Check in loginfo
    > cvs commit loginfo -m "adding commitlog.py script"
    
  5. test it by checking in a file!