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

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

________________________________
From: Todd C. Gleason [mailto:tgleason_at_impac.com]
Sent: Wednesday, May 27, 2009 6:47 PM
To: users_at_tortoisesvn.tigris.org
Subject: how to read TortoiseSVN version from script

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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-28 17:39:02 CEST

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.