Is this correct?

General questions about using ExamDiff, ideas for new features, bug reports, and usage tips.
Post Reply
Manor
Junior Member
Posts: 11
Joined: Thu May 04, 2006 10:58 am
Location: Sweden

Is this correct?

Post by Manor » Thu May 04, 2006 11:08 am

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
Last edited by Manor on Thu May 04, 2006 10:10 pm, edited 1 time in total.

User avatar
psguru
Site Admin
Posts: 1775
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru » Thu May 04, 2006 5:19 pm

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.
psguru
PrestoSoft

Post Reply