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>
bzr-import-20160707
Colin Watson 12 years ago committed by Adam D. Barratt
parent e99ea14601
commit 33d905fc3a

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

Loading…
Cancel
Save