3 ms·
Most destructive commands in mercurial do create a backup first. However, some command, for which all we know, could have been written by a third party, didn't.
by sreque 16y ago
Most destructive commands in mercurial do create a backup first. However, some command, for which all we know, could have been written by a third party, didn't. That's why I suggest that you read the docs for a command and test it out on non-important data before applying it to your only copy of a repository. Someone could just as easily create an extension in git that forgets to create a backup as well. What happened to the author is entirely the author's fault.