cvs

How to find differences between 2 CVS branches?


Is there a command in CVS that can list the differences between 2 branches. By differences I mean a list of files that are different or present in one branch and not the other. If so could you please provider an example?


Solution

  • Needed to do something quick and with very limited knowledge of CVS and GIT and having to deal with a repo that contains hundred of projects, did a kludge like the following:

    export CVSROOT=:pserver:user@cvsserver.com:/path/to/cvsrep
    cvs login
    cvs export -r HEAD project-name
    cvs export -r Branch project-name
    

    Once I had both branches exported, used BeyondCompare to compare the 2 folders. That seems to be give me what I need.