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

Re: getting a repository's latest revision

From: Rob Hills <rob_at_netpaver.com.au>
Date: 2004-10-11 07:26:58 CEST
Hi Jani,

On 10 Oct 2004 at 23:09, Jani Averbach wrote:

> On 2004-10-11 10:51+0800, Rob Hills wrote:
>
> > However, I've not been able to find any way of getting the "latest" revision number of
> > a repository without at least exporting one file from it.

> svn log -r head URL
>
> gives you an entry like:
>
> ------------------------------------------------------------------------
> r11306 | hynnet | 2004-10-10 18:41:38 -0600 (Sun, 10 Oct 2004) | 1 line

Interestingly, all I get is:
------------------------------------------------------------------------

ie, the dashed line with an empty CR after it :-(  FWIW, in our repository, we enforce a log entry with every commit.

Not sure why we don't get the release number etc.  Otherwise, this solution could be a goer.

cheers,


Rob Hills
MBBS, Grad Dip Com Stud, MACS
Senior Consultant
Netpaver Web Solutions
Tel:      (08) 9485 2555
Mob:    (0412) 904 357
Fax:     (08) 9485 2555

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Mon Oct 11 07:25:23 2004

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.