Generic no backup on revert for mercurial

How to make a global parameter that causes the revert command to ignore the backup?

+4
source share
1 answer

You can create an alias in .hgrc

[alias] revert = revert --no-backup # or better make another name for this command drop = revert --no-backup 
+9
source

Source: https://habr.com/ru/post/1345046/


All Articles