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

RE: Getting the first revision

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Tue, 4 Aug 2009 12:34:53 +0200

> -----Original Message-----
> From: news [mailto:news_at_ger.gmane.org] On Behalf Of Dennis Jones
> Sent: dinsdag 4 augustus 2009 6:23
> To: users_at_subversion.tigris.org
> Subject: Getting the first revision
>
> Hi all,
>
> I'm looking for a *quick* way to get the first revision number from a
> specific repository path.
>
> I can get the *last* revision from a path via:
>
> svn log --quiet -l1 <repourl>

svn log -r 1:HEAD --limit 1 --quiet <repourl>

(In some cases adding --stop-on-copy might be usefull)

        Bert

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-04 12:35:54 CEST

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.