RE: Get the highest revision number of a directory
From: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Fri, 29 May 2015 00:55:16 -0700 (PDT)
On 29/05/2015 18:28, Marc MENDEZ wrote:
It's correct, it's just not what you thought you asked. :)
svnversion is telling you the currently-updated-to version, since revisions cover the entire repository state and thus when you update, it updates all files to the newest revision.
The only time you'll see something different is if you've been switching subtrees of your working copy to different revisions/branches or if you're using svn:externals.
Assuming that you want to see which revision a file was last modified in (which is a different thing), you can either look at the Properties or Log of the file/directory, or you can run the "svn info" command. None of these things are intended to be done as part of a script, though -- if you find yourself wanting to do that it usually means you don't realise how SVN works. :)
>
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.