On Thursday, April 4, 2013 11:30:55 AM UTC-4, Jim wrote: > > Deep among the .sage/sage_notebook.sagenb subdirectories is a worksheet > subdirectory > that contains a subdirectory called "snapshots" that contains numerous > *.bz2 files. > > I assume these are snapshots of the worksheet. > What causes their creation? > Do they contain a revision history? >
At one time, long ago, they did do all these things. Now they are probably all the same - every time you "save" you get one, I believe. You can see the revisions by clicking on the "Revisions" tab on the upper right. They used to be automatic saves, but that turned out to really really slow down notebook servers, so we removed that. For some reason, at the same time, <rant object="sagenb devels"> PEOPLE ALSO MADE IT SO ALL REVISIONS OVERWRITE THE PREVIOUS ONES </rant> and I, at least, have no idea how to fix that - and I tried on some of the previous codebase. With the switch to the "flask" codebase a while ago it has perhaps become easier or harder to fix. If so, how do I examine a previous revision of the worksheet? > If there is not a way to look at the revision history, then why are they > maintained? > Can I safely delete them? > Most likely, you can delete all but perhaps the last one. I would just do some spot checks but that's been my experience over the last quite-a-few years. See also http://code.google.com/p/sagenb/issues/detail?id=58 http://code.google.com/p/sagenb/issues/detail?id=59 both from an now-unmaintained codebase <rant>whose issues, however, did NOT migrate to Github (!)</rant> http://trac.sagemath.org/sage_trac/ticket/8776 probably bit rotted -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
