In SnapshotCM, this program will always make a .bak copy of the file (saved in the same folder) on every "Discard" message. If there is already a .bak file, it just increments to .bak1 on the next "Discard".
This feature is really handy to cater the case of accidental Discards (e.g. laggy computer, clicked on wrong button).
Having a bunch of .bak file in the workspace was a bit annoying. So, if SmartGit wants to implement a similar safety feature, I suggest:
- Saving it somewhere in %localappdata%. It can probably just follow the hierarchy of the workspace.
- User then invokes a "See backups" button, which opens up a window (like the Log Window).
- By default, save only up to 5 backups per file (or something like that, to prevent extreme accumulation). The idea is to mainly to cater accidental Discards, or recent Discards.
- It can be turned off by default, and is an opt-in option so user knows where the backups are saved (or perhaps allow the user to pick a backup space).
Customer support service by UserEcho