Page 1 of 1

Is this correct?

Posted: Thu May 04, 2006 11:08 am
by Manor
My changed code is placed at c:\new\mycode.txt.
The (old) source code is in c:\old\mycode.txt.

I compare them in ExamDiff.exe
File 1: c:\new\mycode.txt
File 2: c:\old\mycode.txt

My new code lines in the source at c:\new\mycode.txt will be marked as "delete lines", and deleted code lines will be marked as "added lines"...compared to the source at c:\old\mycode.txt. Why is that? Shouldn't the file entered as File 1 be the new source, and File 2 the old (or original) source? Have I missunderstod something?

I'm a bit confused...

Best Regards,
Mats N - Sweden

Posted: Thu May 04, 2006 5:19 pm
by psguru
Shouldn't the file entered as File 1 be the new source, and File 2 the old (or original) source? Have I missunderstod something?
Not necessarily. In ExamDiff (as well as in many other diff tools) the first file is treated as the original file.