Red Hat Bugzilla – Bug 786611
drift diff is different depending on order in which files are selected
Last modified: 2015-02-01 18:27:35 EST
+++ This bug was initially created as a clone of Bug #765592 +++
go to carousel. say I have snapshot 2 and snapshot 1 that both show drift for file "foo.txt".
select foo.txt in snapshot 2, then select foo.txt in snapshot 1. then "compare" and you see the diff
now deselect everything and now select the files in reverse order (select the one in SS 1, then in SS 2) and do "compare" and notice the diff represents the opposite
that is, for example, the lines that were DELETED in the first compare are now ADDED in the second compare because I changed the order of the files.
We want to compare the oldest as "first" and the newest as "second", always
--- Additional comment from email@example.com on 2011-12-09 14:46:38 EST ---
master commit 5938a790c0aeb32865f4b115e721de22220ca100
Fixed, the new changes will now always get the "+" prefixes and the older
will get the "-" prefixes.
--- Additional comment from firstname.lastname@example.org on 2011-12-12 10:31:39 EST ---
verified RHQ 4.3 master branch
Moving this to ON_QA as new RC3 binary available here:
Verified on Version: 3.0.1.GA RC3 build. (Build Number: dd8a001:0ba18fd)
Compared the drift diff by changing the order of file selection. Verified that New changes have "+" prefixes and the older have "-" prefixes.
Bulk closing of old issues in VERIFIED state.