diff and diffChangeLog modes use the target and base (reference) database arguments in opposite direction

Description

In following the documentation Database “Diff”, it would seem that you can interchange the modes diff and diffChangeLog with one giving you a report and the other outputting a changelog file.
It would seem though that the 2 modes use the target and base (reference) databases in opposite direction.
Using "diff" will show the difference going from 'base (reference)' -> 'target' which makes sense.
While "diffChangeLog" outputs the difference going from 'target' to 'base (reference)'.

So using the following command:

Showed a report of the changes to go from v190 to v205.
If i simply change 'diff' to 'diffChangeLog' it would generate a change log file with changes to go from v205 back to v190.

Now i understand fixing this make break existing things that expect this order so it may not be desired. Maybe just updating the documentation might suffice.

Environment

Mac OSX 10.11.4. Installed via brew. Running using command line.

Activity

Show:

Details

Reporter

Affects versions

Priority

Created May 11, 2016 at 3:03 AM
Updated May 11, 2016 at 3:47 AM