CVS revision/diff

Discussion related to implementation and use of the H.323 Plus H.323 stack at https://www.h323plus.org.
Post Reply
mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

CVS revision/diff

Post by mazilo »

I am much more familiar with SVN and GIT than CVS. In SVN, I can use svn log and svn diff -r PREV to see the latest committed revision and the difference in source codes from the current vs. previous commits, respectively. Similarly, I use git log and git log -p in GIT, respectively. Today, when I did a cvs up ., I noticed there was some new commits. Can anyone here please tell me what CVS parameters I need to use in order to see the latest committed revision and also the difference in source codes from the latest vs. previous commits.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: CVS revision/diff

Post by shorne »

mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Re: CVS revision/diff

Post by mazilo »

Nice, but my preference is to use CVS directly. This way, I can write a simple scripts to do something else.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: CVS revision/diff

Post by shorne »

If you are on linux use the commandline
http://www-e815.fnal.gov/webspace/cvs/commands.html

If you are on windows you can use the graphical interface of TortoiseCVS and WinMerge.
mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Re: CVS revision/diff

Post by mazilo »

shorne wrote:If you are on linux use the commandline
http://www-e815.fnal.gov/webspace/cvs/commands.html
Wow! Looks very interesting that each file has its own revision #. So, is there a way to determine which is current CVS revision of H323Plus after the last commit? The reason I asked this stupid question is because I want to write a small script to package them into a tarball file with a CVS revision #. This way, whenever the script run, it won't overwrite the existing tarball file.
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: CVS revision/diff

Post by shorne »

Simply store the packages by date/time. You can also update the CVS to particular date/time.
mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Re: CVS revision/diff

Post by mazilo »

shorne wrote:Simply store the packages by date/time. You can also update the CVS to particular date/time.
Thank you.
Post Reply