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
svn info http://llvm.org/svn/llvm-project/llvm/trunk | grep Revision | cut -d' ' -f2