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

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

From: Matthias Schäfer <Matthias.Schaefer_at_kopfweb.de>
Date: Tue, 4 Apr 2017 10:03:59 +0000

Dear Mr. Kueng,

the bug is only for SVN upgraded version 1.9x!

the scenarios are:

Updated SVN 1.9x and SubWCRevCOM 1.7.11 = Working

SVN 1.7.11 and SubWCRevCOM 1.7.11 = Working

SVN 1.9x and SubWCRevCOM 1.9x 0 Not Working

So what can we do now? See facts below

- Documentation is gone since 1.9x for VBA.

- Once SubWCRecCOM is opened in updated package "1.9x" it is growing bigger and bigger and "freezes"

- If SubWCRecCOM 1.9x is replaced with 1.7.11 it is working again!

- How can I check this error furher? (Tools, Dumps?)

Mit freundlichen GrüŸen / Best regards

Matthias Schäfer

KOPF GmbH / Kapbachstr. 6 / 76829 Landau / Germany

Tel.: +49 6341 91767-33 / Fax : +49 6341 91767-50

Email: Matthias.Schaefer_at_kopfweb.de

Geschäftsführer: Oliver Kopf - HRB Landau Nr. 3090 - Amtsgericht Landau

-----Ursprüngliche Nachricht-----
Von: Stefan Kueng [mailto:tortoisesvn_at_gmail.com]
Gesendet: Donnerstag, 30. März 2017 19:37
An: Matthias Schäfer; users
Cc: Oliver Kopf; Bernd Jatz
Betreff: Re: AW: SubWCRev program no more supporting VBA in V1.9x ?

On 30.03.2017 12:50, Matthias Schäfer wrote:

> Dear Mr. Kueng,

>

>

>

> thanks for your quick reply. I have further information for you:

>

>

>

> The Script is perfectly working with 1.7x version. Updated to 1.9.x

> SubWCRevCOM.exe causes the "error":

>

> · Excel freezing

>

> · SubWCRevCOM.exe consuming 12 to 13 % CPU Power constantly

>

> · SubWCRevCOM.exe memory grows and grows ... up to 1.3 Gigabytes

> (then I stopped the process, otherwise it would grow further and bigger).

>

> I made an error handling for the complete script, so it is ensured

> that the VBA Code is not causing the problem (Please remember that its

> working fine for years now with V1.7x).

>

> Because there is no documentation for VBA (except some snippets from

> internet and sourcecode etc.) I was not able to find out how to check

> out the result out of "oSvn.GetWCInfo ActiveWorkbook.FullName, 1, 1".

> Do you have an idea how it has to look like in VBA?

>

>

>

> There are two instances to control the errors:

>

>

>

> · "On Error GoTo NoSVN" (to the end of script) --> for the whole

> script (if there is any error the whole script is stopped!)

>

> · "If oSvn.IsSvnItem = True Then" --> The second instance, that

> checks if the file is in SVN-control. (If the data is no SVN-Item the

> script stops, too)

>

> o Even if the file has no SVN-Control the SubWCRecCom.exe is opened

> and seems to struggle. That must have something to do with this code:

>

>

>

> I reckon, that when the object is created in VBA with this command,

> the SubWCRec.exe is started. Then there is an not identified error,

> but the SubWCRev still runs with memory overflow without being

> stopped. Excel is working after killing the process SubWCRev manually.

>

>

>

> Something must be changed, because if I replace the SubWCRevCOM.exe to

> Version 1.7x it is working great. Rest of files in this case are still

> on 1.9.5.

If you replace SubWCRevCOM with an older version and it works without having you to check out a new working copy, then of course the new SubWCRevCOM won't work: the working copy formats are not compatible.

You have to run a WC-Upgrade on the working copy first:

with TortoiseSVN, right-click on the working copy root folder and then select "Upgrade WC".

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=3226219
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-04-04 12:04:54 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.