> Does anyone know how to get the HEAD revision of a remote repo path easily?
> Right now we have a checked out copy that we update then do "svnversion" on,
> but it'd be nice to be able to do "svnversion http://..."; or "svn info
> http://...";.

Something like

svn info https://svn.apache.org/repos/asf/spamassassin/trunk | grep Revision | 
cut -d: -f2

works for me.

(The Last Changed Rev or Last Changed Date fields may also be useful,
perhaps to compare it against the svnversion of a working tree to tell
if it's worth rerunning a test build or something like that.)

-- 
`Next: FEMA neglects to take into account the possibility of
fire in Old Balsawood Town (currently in its fifth year of drought
and home of the General Grant Home for Compulsive Arsonists).'
            --- James Nicoll

Reply via email to