[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Getting the current repository version

From: Mike Quilleash <mike.quilleash_at_subexazure.com>
Date: 2007-05-10 11:29:12 CEST

Hi all,
 
Hopefully this is an easy one. I want to be able to detect if a local
copy is older than the respository. Closest thing I can find to do this
is:
 
svn -q -r HEAD log svn://xxx/trunk
 
Which prints out the repo revision of the head, but i'm not sure if this
works for branches. Just being able to get the latest revision of a
repository URL would be fine as I can get the local revision with 'svn
info'
 
Cheers.
 
Mike.
 

 This e-mail is bound by the terms and conditions described at http://www.subexazure.com/mail-disclaimer.html

Received on Thu May 10 11:29:43 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.