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

[TSVN] Re: Re: Re: Re: Show log compare is out by one rev

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-09-07 18:25:27 CEST

"SteveKing" wrote:
> > It appears to be due to trying to show a diff when there are no
differences.
>
> Enhanced the error message. It now tells:
> The line "Index: " was not found!
> Either this is not a diff file or the diff is empty.
>
> Committed in revision 1658.

Yes, that makes TMerge more helpful as it doesn't know what the user will
throw at it :-)

Since you know exactly what SVN will produce in the no-difference case (zero
length file, or single CR-LF ??), is it worth testing for that before
calling TMerge and putting out a simple "No differences found" message box?
Just saying "The diff is empty" makes it sound like something has gone wrong
with the diffing process.

Simon.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Sep 11 20:16:45 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.