When committing changes to Mercurial, it can auto-detect move/copy/renames by using the command
hg addremove -similarity 100
The nu
setting «-s 100» defaults for addremove is awesome idea; but hgrc.5 says that [defaults] is deprecated, so I'm using these:
[alias]
addremove = addremove --similarity 100
adrs = addremove --similarity 0.01
The latter is very useful for keeping track of binary data (such as cad files or drawings) that is uncompressed and distinctly segmented/layered.