[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: Guido Anzuoni <guido.anzuoni_at_kyneste.com>
Date: 2004-10-11 11:35:49 CEST

<?xml version="1.0" ?>
If you issue a
svn log -r head URL
and URL is a directory it works fine.
If URL is a file then the log output is the one you reported.
I don't know if it is a bug or a feature.
I had this problem from Java binding with logMessages() returning empty LogMessage[] array.
In this case I re-issue logMessages agains target parent.....
 
Guido.
 
BTW.
Is there anyone who knows how to definitevly solve the reply subject prefix pb. with Outlook 2000 (well, Italian version) ?
I set the proper checkbox in International Options but on some messages I still get an extra RE: when I reply......>:-<
 
 -----Original Message-----
From: Rob Hills [mailto:rob@netpaver.com.au]
Sent: Monday, October 11, 2004 7:27 AM
To: users@subversion.tigris.org
Subject: Re: getting a repository's latest revision

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 11:36:48 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.