RE: how to read TortoiseSVN version from script
From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 28 May 2009 11:38:44 -0400
I don't know python but there should be a way to read the version metadata from the EXE directly. The same way explorer does when you view the file properties to see the version.
BOb
________________________________
Can someone tell me the easiest way to read the TortoiseSVN version from a script (I'm using Python)? I can read the command-line Svn version easily but I want to also check TortoiseSVN's version and make sure they're in sync.
It looks like I can read
HKEY_CURRENT_USER\Software\TortoiseSVN\CurrentVersion (REG_SZ)
but if there's anything easier or more authoritative I'd like to know. I didn't find anything helpful under TortoiseProc.exe or by looking in HKEY_LOCAL_MACHINE, or via a google search.
--Todd
------------------------------------------------------
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.