You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by baz themail <ba...@gmail.com> on 2009/02/09 02:25:44 UTC

is there one command to return the latest revision?

Hi,

I can do "svn log -l 1 http://svn" to find out the latest revision. But is
there one command that can return just a number - the latest revision?

Thanks.

A.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: is there one command to return the latest revision?

Posted by Andy Levy <an...@gmail.com>.
On Sun, Feb 8, 2009 at 21:25, baz themail <ba...@gmail.com> wrote:
> Hi,
>
> I can do "svn log -l 1 http://svn" to find out the latest revision. But is
> there one command that can return just a number - the latest revision?

svn info, then parse the output.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].