MantisBT - ATutor
View Issue Details
0003542ATutorPatcherpublic2008-08-21 23:232009-07-21 08:52
IndieRect 
cindy 
normalminoralways
closedfixed 
1.6.1 
1.6.2 
SVN
0003542: Patch altering the same file multiple times can't be undone
If a patch alters two or more separate chunks in the same file, each backup file overwrites the previous one. See the attached sample screenshot.

As a result, the backup file reflects not the original state, but that with the last but one change. Recovering the original file is then impossible without an external backup.
No tags attached.
gif Files repeatedly overwritten.gif (28,090) 2008-08-21 23:23
http://www.atutor.ca/atutor/mantis/file_download.php?file_id=56&type=bug
gif
Issue History
2008-08-21 23:23IndieRectNew Issue
2008-08-21 23:23IndieRectFile Added: Files repeatedly overwritten.gif
2008-08-21 23:23IndieRectAffects version => SVN
2008-11-14 10:02gregStatusnew => assigned
2008-11-14 10:02gregAssigned To => cindy
2008-11-14 10:06cindyStatusassigned => resolved
2008-11-14 10:06cindyFixed in Version => 1.6.2
2008-11-14 10:06cindyResolutionopen => fixed
2008-11-14 10:06cindyNote Added: 0003371
2009-07-21 08:52gregStatusresolved => closed

Notes
(0003371)
cindy   
2008-11-14 10:06   
refer to: http://www.atutor.ca/atutor/mantis/view.php?id=3477 [^]

This has been fixed by checking the existence of the backup file. don't overwrite if already exists.