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

BUG in 1.6.0 15855 DIFF SCRIPTS for ODS files. Include the resolution!

From: Oliver Braun <Oliver.Braun_at_hul.de>
Date: Tue, 31 Mar 2009 18:16:44 +0200

I think i have fond a small bug in the diff scripts.
They sometimes nont work.
I found out, that the temporary files of the
in c:\docume~1\user......\filename
are sometimes write protectet.
I add some script lines to remove the write protection
After this the script works fine.
sBaseDoc=objArgs(0) 'old lines
sNewDoc=objArgs(1) 'old lines
' remove the file write protection
Set FS = CreateObject("Scripting.FileSystemObject")
                 'new lines
FS.GetFile(sBaseDoc).Attributes = FS.GetFile(sBaseDoc).Attributes And
Not 1 'new lines
FS.GetFile(sNewDoc).Attributes = FS.GetFile(sNewDoc).Attributes And Not
1 'new lines

Thanks for program such a fine client like TortoiseSVN
Heinen + Löwenstein GmbH
Oliver Braun
Arzbacher Straße 80

D-56130 Bad Ems
Telefon: +49(0)2603/ 9600-0

Handelsregister: Amtsgericht Koblenz
HRB-Nr. 2796
Sitz: Bad Ems
Geschäftsführer: Reinhard Löwenstein
St.-Nr. 3067002488
USt.Id.Nr. DE 149320732


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-31 18:18:41 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.