Which SCMs support "keep backups on destructive operations"?

Daniel Serodio April 5, 2012

In SourceTree Help, the help for "Preferences: General" says the following about the Keep backups on destructive operations option:

If supported by the underlying system, whether to keep backup files when performing destructive operations like 'revert'.

My question is: is it Mercurial or Git that support these backups?

1 answer

1 accepted

0 votes
Answer accepted
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 6, 2012

At the moment only Mercurial implements this, keeping '.orig' files on revert.

Daniel Serodio April 7, 2012

Thanks, please consider adding this information to the Sourcetree's Help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events