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

Re: svn revision

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-09 14:46:07 CET

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
Received on Mon Feb 9 14:50:35 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.