Wednesday, November 12, 2008

CVS diff on labels

Find out what files have changed, been added or removed between two labels in CVS.

  1. Install wincvs (WinCvs 2.0.2.4-4.zip).
  2. Make sure you have C:\Program Files\cvsnt" in your Window's PATH environment variable.
  3. Open DOS prompt/Cygwin shell.
  4. set CVSROOT=:pserver:USERNAME@SERVER:PORT:/PATH/TO/CVSROOT
  5. cvs login
  6. Then enter your password.
  7. cvs -d:USERNAME@SERVER:PORT:/PATH/TO/CVSROOT -q rdiff -s -r LABEL1 -r LABEL2 PATH/TO/PROJECT

Thanks to Lars