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-07-05 18:06:40 +00:00 committed by Adam D. Barratt
parent e99ea14601
commit 33d905fc3a

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)