On Tue, Sep 22, 2020 at 02:17:46PM -0400, Peter Teeson wrote:
I want to write a bash script to
   compare the local working copy revision number
vs
  the svn://svn.savannah.gnu.org/apl/trun <svn://svn.savannah.gnu.org/apl/trun> 
repository revision number.

I know how to find out the revision number of my local working copy
using svnversion or svn info if i need more data.

Unless I'm mistaking something, what you want is simply the revision number of the HEAD:

  svn info -r HEAD --show-item revision

vs revision number of your working copy:

  svn info --show-item revision

-k

Reply via email to