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

Re: Subversion repository revision number in Linux

From: Jeremy Pereira <jeremyp_at_jeremyp.net>
Date: 2007-08-08 09:48:44 CEST

On 8 Aug 2007, at 14:47, Joseph Mocker wrote:

> The "Revision" field from the "svn info" command appears to be one
> way to find it.

Or svnversion which seems more accurate in mixed revision repositories:

Transmitting file data ..
Committed revision 524.

jeremyp@miranda:newman4 $svn info .
Path: .
URL: http://localhost:6080/svn/memorytech/newman4/branches/ud02_nojb
Repository Root: http://localhost:6080/svn
Repository UUID: e1382a9c-b2d5-0310-b69d-c963611420fd
Revision: 522
Node Kind: directory
Schedule: normal
Last Changed Author: APTOSOLUTIONS\jeremyp
Last Changed Rev: 522
Last Changed Date: 2007-08-07 18:44:47 +0900 (Tue, 07 Aug 2007)

jeremyp@miranda:newman4 $svnversion .
522:524M

>
> --joe
>
> sarancse wrote:
>> Hi
>> I am managing subversion server in Red hat Linux server. Using the
>> following command I am getting the revision number.
>> svn log svn://10.105.4.7/home/subversion/fortress -r HEAD -q Is
>> there any simple command to retrieve SVN revision number?
>
> ---------------------------------------------------------------------
> 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
Received on Wed Aug 8 09:47:22 2007

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