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

reuse of subwcrev com object no longer possible with 1.9.0

From: Jan Keirse <jan.keirse_at_tvh.com>
Date: Tue, 11 Aug 2015 16:47:32 +0200


I used to be able to reuse the SubWCRev com object. However, if I now
execute the following:

// testCOM.js - javascript file
filesystem = new ActiveXObject("Scripting.FileSystemObject");

revObject1 = new ActiveXObject("SubWCRev.object");

1, 1);
1, 1);
if (revObject1.HasModifications)
WScript.Echo("not modified");

} catch (err) {
WScript.Echo("woeps" );

It results in a message 'modified' because the HasModifications is set
to true by the first call to GetWCInfo and no longer reset to false
when the second call to GetWCInfo is called.

I would prefer it if it would be possible to reuse the object, because
I have some logic that calls it on about 15000 files and the
programming language used to do this doesn't handle recreation of the
com object gracefully.

Thanks for taking a look!


**** DISCLAIMER ****
"This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-08-11 16:47:55 CEST

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