Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mu doesn't create a backup when saving #483

Open
rhubarbdog opened this issue Jun 13, 2018 · 3 comments
Open

mu doesn't create a backup when saving #483

rhubarbdog opened this issue Jun 13, 2018 · 3 comments

Comments

@rhubarbdog
Copy link

hi,
i'm using mu 1.0.0.beta.12
when save is clicked should mu not make a backup copy of the file as it were when opened.
so when save is clicked this can become a backup file, auto save should not effect this backup.
one unix convention is to place a ~ as the last character

phil

@ZanderBrown
Copy link
Contributor

If I'm understanding this right I don't think it's something we want to be doing but @carlosperate 's atomic save work maybe similar

@carlosperate
Copy link
Member

I think the reason it was removed was because the backup file was created in the same directory where the working file is saved, and in the case of the circuitplayground that mean in the USB drive, causing havoc.

The atomic saver could easily be updated to save the backup-file somewhere else (or we could extend it so that depending on the mode is saves the file in different locations), so we could bring it back if needed.

@ntoll
Copy link
Member

ntoll commented Jun 13, 2018

What @carlosperate says is a true version of events. I think we should re-visit this post 1.0.

@carlosperate carlosperate added this to the 1.1 milestone Jun 13, 2018
@carlosperate carlosperate modified the milestones: post-1.0, 1.2 Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants