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

Bug: Missing files in Compare Revisions on a directory

From: Thomas Sanders <thomas.sanders_at_monitor-mpower.com>
Date: 2006-06-09 16:54:58 CEST

The list of files from the "Compare Revisions" function sometimes has
some files missing even though they show up in the unified diff.

My guess is that this is due to a bug in the parsing of the unified
diff.

Example:
Point repobrowser at
http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk
View log for trunk
Compare 6715 with 6725
See only 9 files vs. 13 in unified diff.
The missing ones are the three .png files changed in r6716.

Likewise for 6701 and 6713
again only binary files are missing.

The missing ones are scattered about in the middle of the unified diff,
i.e. there are files that appear later in the diff which are shown in
the comparison.

I wondered if this might be an undocumented feature with binary files
being omitted deliberately (though this would be an unwelcome feature).

However, on a repository I am using, all the examples I have found look
as if the parsing of the unified diff has just stopped at a certain
point, i.e. in general the first one or more files in the diff are
included in the comparison list and the last zero or more are omitted.

This can happen even when no binary files are involved.

I attach an example unified diff for which Compare Revisions shows only
the first of the two files being changed, i.e. pb_max_cfo_c.sql is
shown and pb_max_cust_bp5.sql is missing.

This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Fri Jun 9 17:00:56 2006

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.