FreeKB - How to list the differences of a file in CVS
How to list the differences of a file in CVS

Home > Search > How-to


If you are not familiar with CVS, check out our getting started article.

These examples are based on Linux. Let's say your CVS home directory is /var/cvs. Move into your CVS home directory.

~]# cd /var/cvs

 

You'll need the old version and new version of the file, which you can get by checking the file log.

The cvs diff command can be used to spot differences between revisions.

cvs diff -r <old_version> -r <new_version> example.txt

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter c86a6 in the box below so that we can be sure you are a human.




Comments