On a Linux system that has no prior source repositories on any SVN and/or GIT packages, I use both svn info http://<repository trunk>/ | sed -ne's/^Revision: //p' and git ls-remote http://<repository trunk>/ HEAD | cut -f1, to remotely check for the latest version of commit revisions for SVN and GIT packages, respectively. I wonder if this can be done with a CVS repository, too. If so, how?
So far, I have not been able to find the best way to do this. The closest thing I have come to achieve this is to use cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus history -options -D `date -d yesterday +%F` to show me the last commit done on the day when the above instructions get executed on y Linux machine. In other words, if the latest commit was done the days before, the scripts will fail to detect the latest commit. So, this is not good, unfortunately.
Pulling the latest commit revision number
Re: Pulling the latest commit revision number
So, no one here knows the answer to my inquiry?