Apply undo list in reverse order.

In rare cases with hints with overlapping virtual packages provided by
different sources, this can make a difference.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Colin Watson 2013-06-12 14:55:04 +00:00 committed by Adam D. Barratt
parent 771f5d1592
commit f18414f34d

View File

@ -2326,6 +2326,7 @@ class Britney(object):
else:
self.output_write("FAILED\n")
if not lundo: return
lundo.reverse()
self.undo_changes(lundo, self.systems, self.sources, self.binaries)