You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by etienne studer <et...@canoo.com> on 2004/02/09 11:17:00 UTC

svn revision

Hi

On the client-side, what is the easiest way (command line) to find out what
the current revision number on the svn server is?

Thanks for your help!

Best regards, Etienne



-----Original Message-----
From: Philip Martin [mailto:philip@codematters.co.uk]
Sent: Sonntag, 8. Februar 2004 23:26
To: Jeffery D. Collins
Cc: users@subversion.tigris.org
Subject: Re: date format problem


"Jeffery D. Collins" <jc...@earthlink.net> writes:

> I'm not sure what's going on here, perhaps a build problem with 0.3

0.37?

> (linux).  I couldn't find any hints through google nor the subversion
> bug list.  The only date format that works is of the form
> yyyy-mm-dd. All others listed in the svn book fail with a syntax
> error.

The date parser changed in 0.37, the book is out of date.

--
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn revision

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-02-09 at 05:17, etienne studer wrote:
> Hi
> 
> On the client-side, what is the easiest way (command line) to find out what
> the current revision number on the svn server is?

Probably to run 'svn status -u' and then look at the last line:

$ svn st -u
?                   doc/book/blah
M            8581   doc/book/TODO
Status against revision:   8581


If you have no working copy, then 'svn log -rHEAD rootURL' will work as
well:

$ svn log -rHEAD http://svn.collab.net/repos/svn
------------------------------------------------------------------------
r8581 | philip | 2004-02-08 16:18:36 -0600 (Sun, 08 Feb 2004) | 20 lines

...





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org