undo actions are in the wrong order
Bug #551509 reported by
Mario Ceresa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rollmeback |
Fix Committed
|
Medium
|
Mario Ceresa |
Bug Description
Actions emitted into the undo script are in the wrong order:
ex:
mkdir TEST_DIR
touch TEST_DIR/TEST_FILE
rm -rf TEST_DIR
outputs:
rm TEST_DIR/TEST_FILE
mkdir TEST_DIR
rm TEST_DIR
instead of:
mkdir TEST_DIR
touch TEST_DIR/TEST_FILE
rm TEST_DIR/TEST_FILE
rmdir TEST_DIR
Even if the result is the same, the incorrect order can give problem in more complicated situations and confuses the reader of the script.
description: | updated |
Changed in rollmeback: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
This behaviour originates because the changes are grouped for the entry they refer to instead of using the time of arrival