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

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

From: Chung Wong <chung.wong_at_delcam.com>
Date: Wed, 21 May 2014 11:09:31 -0700 (PDT)

> On 29.04.2014 00:47, Chung Wong wrote:
> > Hi,
> >
> > 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!
>
> Thanks for the change.
> Committed in r25462.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net

Thanks!

The "/b" binary diff option actually turns out to be a problem. If the files are the same size but very different, "fc /b" will generate a lot of output and take forever to finish.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3078846

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-05-21 20:09:36 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.