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

Re: SubWCRev program no more supporting VBA in V1.9x ?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 25 Mar 2017 09:01:30 +0100

On 22.03.2017 12:08, Matthias Schäfer wrote:
> we do have a problem regarding the COM device (SubWCRev.exe) in V1.9x.
>
> In VBA we are creating/using |SubWCRev.object ||and several methods are
> based on it, have a look at your documentation:|
>
> https://tortoisesvn.net/docs/release/TortoiseSVN_de/tsvn-subwcrev-com-interface.html
>
> Unfortunately this works for 1.7.8 version, but not longer for 1.9x
> versions:
[snip]

> The question is, have you changed the SubWCRev.exe including the support
> of VBA |SubWCRev.object? The examples website is showing only C#
> commands, too.|
>
> |In earlier days there was an example of VBA based code and program.
> Could it be possible that VBA is no longer supported in 1.9x SubWCRev.exe?|

VBA is still supported, as is any other language capable of using COM
objects.

> |Is VBA code changed? The documentation has no info regarding VBA code.|

Nothing has changed regarding VBA.

> |Have a look to the code crashing the |SubWCRev.exe:

the code screenshot doesn't show the whole script. Also I don't know
what 'IsProp' and 'UpdateProp' do - SubWCRev doesn't provide those.

What I can see is that you don't check the return value of
'oSvn.GetWCInfo' - if that returns S_FALSE, then there was an error
while fetching the svn status and all subsequent calls to oSvn will
return false data.

Also: you mentioned that it doesn't work anymore. But what exactly
doesn't work anymore? Which part of your script? What happens and what
do you expect to happen instead?
What happens if you run
$ svn st path
where 'path' is the string from ActiveWorkbook.FullName ?

> Internal:
>
> http://jira.kopfweb.de:8080/secure/EditIssue!default.jspa?id=17561

that link seems to be 'internal' as you mentioned. Not really useful to
me here.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3222906
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-03-25 09:01:46 CET

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.