autosave is saving any file opened, changed or not

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
gwgs
Posts: 87
Joined: Tue Nov 21, 2006 6:30 pm
Location: Auckland

autosave is saving any file opened, changed or not

Post by gwgs » Wed Nov 13, 2013 12:35 am

autosave saving any file opened, even if it hasn't been changed.

Particuarly noticeable when working over a slow network link.

To reproduce, enable autosave
open at least 2 files
change one of them
wait for the autosave to activeate
check to see what backup files exist for the opened files, there will be one for each opened file, not just the file that was changed.



Grant

jussij
Site Admin
Posts: 2512
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Wed Nov 13, 2013 2:30 am

the autosave is saving any file opened, even if it hasn't been changed.

That is by design.

The autosave is nothing more than a periodic backup that runs with an interval defined by the interval value found in the Backup panel of the Editor Options dialog.

I don't see any way around this.

Consider a file that is changed greatly and then saved. Lets say that pattern repeats several times. If the backup only processed files if that file was currently modified it would miss all those changes.

Now the whole backup could be made more compilcated by checking timestamps etc, but that sort of backup is better handled by source control.
Particuarly noticeable when working over a slow network link.

If it is causing an issue it can be turned off with a 0 interval value.

A second option would be to handcraft a backup policy using a script, an example of which can be found here:

http://www.zeusedit.com/zforum/viewtopic.php?t=6911

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 5 guests