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

Bug in diff-dll.vbs. Filename with space will always be reported as identical.

From: Chung Wong <chung.wong_at_delcam.com>
Date: Mon, 28 Apr 2014 23:47:23 +0100


I would like to report a bug. When I do TSVN Diff on a dll file that has space in its filename, it will always be reported as identical even though it has been changed. The problem is on line 57 of the diff-dll.vbs script:

exitStatus = WshShell.Run("fc.exe "+sBaseDoc+" "+sNewDoc, 0, True)

It should have been:

exitStatus = WshShell.Run("fc.exe /b """+sBaseDoc+""" """+sNewDoc+"""", 0, True)

The extra quotes are needed to handle the space in the filename correctly. Not sure the "/b" is necessary but it shouldn't hurt.

Thanks for making TSVN such a great tool to use!

This email and any attachments are confidential and are for the use of the addressee only. If you are not the addressee, you must not use or disclose the contents to any other person. Please immediately notify the sender and delete the email. Statements and opinions expressed here may not represent those of the company. Email correspondence is monitored by the company. This information may be subject to Export Control Regulation. You are obliged to comply with such Regulations. The parent company of the Delcam Group is Delcam plc, registered in England no. 2311487. Registered Office: Talbot Way, Small Heath Business Park, Birmingham B10 0HJ, United Kingdom. Tel +44 (0) 121 7665544


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-04-29 07:25:19 CEST

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