SVN: Find last revision number without cloning


You want to find out what the last revision number of a remote subversion repository is without cloning it (e.g. because cloning takes a looong time with subversion).


svn info provides what you need. Just combine it with grep and cut

svn info | grep Revision | cut -d' ' -f2