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

Re: is there an svn command to return the latest revision from the repo with addition scripts?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 22 Jun 2009 20:49:39 -0400

On Mon, Jun 22, 2009 at 20:35, baz themail<bazthemail_at_gmail.com> wrote:
> Thanks for replying.
>
> "svn info" or "svn log -l 1" will give too much information. I just want the
> revision number, one number. Is there such a command or i need to do
> something like awk/sed/others?

The output of all svn commands is designed to be easily parsed. Parse
the output of svn info.

P.S. Please stop top-posting.

> On Mon, Jun 22, 2009 at 4:14 PM, Menschel, Bob [HDS]
> <Bob.Menschel_at_hdsupply.com> wrote:
>>
>> Does svn info http://svn/test%c2%a0do what you want?
>>
>>
>> Bob Menschel
>> Lead Systems Engineer
>> HD Supply, Repair & Remodel
>> 1695 Eureka Road
>> Roseville, CA 95661
>> Phone: 916-751-2329
>> Fax: 866-504-2857
>> email: Bob.Menschel_at_hdsupply.com
>> website: http://www.HDSRR.com
>>
>> One Team, Driving Customer Success and Value Creation
>>
>> CONFIDENTIALITY NOTICE:
>> This message is for intended addressee(s) only and may contain
>> confidential, proprietary or privileged information, exempt from disclosure,
>> and subject to terms at: http://www.hdsupply.com/email/.
>>
>>
>> ________________________________
>> From: baz themail [mailto:bazthemail_at_gmail.com]
>> Sent: Monday, June 22, 2009 3:33 PM
>> To: users_at_subversion.tigris.org
>> Subject: is there an svn command to return the latest revision from the
>> repo with addition scripts?
>>
>> Hi,
>>
>> Is there an svn command that return the current revision number of the
>> repo?
>>
>> For example, svn revision http://svn/test, and return the current revision
>> of the http://svn/test?
>>
>> Thanks.
>>
>> A.
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2364360

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-23 02:50:41 CEST

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