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

how to read TortoiseSVN version from script

From: Todd C. Gleason <tgleason_at_impac.com>
Date: Wed, 27 May 2009 15:47:22 -0700

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=2355971

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-05-28 00:52:51 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.