[ENH] Image based session management

Stephen Pair spair at advantive.com
Thu Sep 2 14:55:47 UTC 1999


>From the discussion yesterday on reversing fileins, I thought it would be
nice to have a utility that helps me manage the images that frequently pile
up on disk.  This is the result:

http://www.advantive.com/squeak/SessionManagement.cs

-------- From the preamble -------

This is a small change set that adds three items to the World menu:

begin session
revert to
commit to

The first item (begin session) allows you begin a new work session by taking
a snapshot of the
current image and giving it a name that incorporates a time stamp and a
session
note.

The second item (revert to) allows you to select a session to revert back to
(reverting take you to the state at the time the selected session was
started).  ***Intermediate sessions (images) are deleted from disk.  At the
moment, you must manually restart the image for the session you wish to
revert to (as this is a platform dependent thing).

The third item (commit to) will commit all current changes to the session
(image) selected.  ***Intermediate sessions (if any) are deleted from disk,
and the selected one is overwritten with the current state of your image

I find these tools to be small, but useful in helping to keep track of the
various images that I do work in.


- Stephen





More information about the Squeak-dev mailing list