Snapshots enables you to save the state of a project in a particular point of time. You can revert to the snapped state should you need to at a later time. You might be wondering why it is even needed, because with Source Control Management such as SVN. Snapshot is quicker in some cases to take a snapshot than having to checkin and checkout changes. It is also faster to do comparison on Snapshots.
To compare between two snapshots: highlight two Snapshots (shown below, left, the two grayed items), then select the file you want to compare (the yellow highlight below). The differences will be shown in a split window. In the example below, notice how the second revision shows the things that I added after the first snapshot (the word projectiles not destroyed (in the green color highlighting)).
You can also revert the project to a previous snapshot, using the Restore toolbar buttons.
To compare between two snapshots: highlight two Snapshots (shown below, left, the two grayed items), then select the file you want to compare (the yellow highlight below). The differences will be shown in a split window. In the example below, notice how the second revision shows the things that I added after the first snapshot (the word projectiles not destroyed (in the green color highlighting)).
Snapshots are stored in a disk image that lives in ~/Library/Application Support/Developer/Shared/SnapshotRepository.sparseimage
No comments:
Post a Comment