Bug with 2 text files

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
aksel
Posts: 16
Joined: Fri Dec 17, 2004 6:56 am

Bug with 2 text files

Post by aksel » Wed Nov 21, 2007 8:31 am

Hey - I'm loading DIFFMERGE with these two files attempting to compare them and every time DIFFMERGE just hangs.

I've had to go back to WinMerge to compare them - and they are only text files.

I've attached them here in case this helps.
Attachments
qc.txt
Log file 1
(0 Bytes) Downloaded 712 times
qc2.txt
Log file 2
(63.17 KiB) Downloaded 685 times

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

qc.txt is empty - did you intend that ?

Post by jeffhostetler » Wed Nov 21, 2007 10:58 am

qc.txt is 0 bytes. did you intend that ?

aksel
Posts: 16
Joined: Fri Dec 17, 2004 6:56 am

Missing file

Post by aksel » Wed Nov 21, 2007 12:13 pm

Sorry Let me reupload QC2.txt
Attachments
qc2.txt
Secondary file
(63.17 KiB) Downloaded 670 times

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

qc2.txt was ok, it was qc.txt that was empty.

Post by jeffhostetler » Wed Nov 21, 2007 3:09 pm

could you re-upload the other one too -- it was the one that was empty.

thanks
jeff

aksel
Posts: 16
Joined: Fri Dec 17, 2004 6:56 am

Missing file

Post by aksel » Thu Nov 22, 2007 9:44 am

Sorry
Attachments
qc.txt
Log File 1
(458.7 KiB) Downloaded 680 times

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Try setting the Detail Level to "Lines Only"

Post by jeffhostetler » Mon Nov 26, 2007 12:41 pm

Yeah, the files take forever to load when the Detail Level is set to "Lines and Characters". If you set the Detail Level to "Lines Only" (using the Options Dialog) they load in very quickly.

The problem here is that the 2 files (one ~64kb and one ~470kb) have nothing in common, so in "Lines and Characters" mode, the "multi-line-intra-line" analysis is getting overwhelmed.

When that is turned off, DiffMerge will see it as a "relatively simple" ~900 line vs ~8000 line comparison.

I probably need to add something to automatically detect this and back off the aggressive intra-line stuff.... [I'll add a work item to investigate this.]

hope this helps,
j

Post Reply