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

Re: Get the highest revision number of a directory

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 29 May 2015 09:28:50 +0100

On 29 May 2015 07:52, "Marc MENDEZ" <mme.web100t_at_gmail.com> wrote:
>
> Hi,
>
> My request is a bit special... Let me explain what I'm looking for.
> I'm working under Windows.
>
> On my local disk, I need to find the highest revision number assigned to
a file inside a directory, whatever the current highest revision number
used par SVN.
>
> I thought svnversion could help me, but it seems not to give me the
expected result.
> For instance, my current revision number is 100.
> In a subdirectory "mydir", the highest revision number assigned to files
is 60. If I run :
> svnversion
> I get 100 (right !)
> If I run
> svnversion mydir
> I get 100 too (wrong :()
>

SubWCRev should do what you want. It's part of TSVN and it's documented in
the main help file.

Simon

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3119863

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-05-29 10:28:59 CEST

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