When committing changes to Mercurial, it can auto-detect move/copy/renames by using the command
hg addremove -similarity 100
The nu
Yes it can. If you take a look at the TortoiseHg manual you'll find section 4.12 entitled "Rename Guessing". To quote:
The nice thing is step 5: you can actually toggle the similarity as you go, and Tortoise changes what files are considered renames on the fly. You can get most of what you want by sliding the bar carefully to the right percentage and re-checking.
I have my global settings (mercurial.ini) file configured with:
[defaults]
addremove = --similarity 100
If you ask me, this should be on by default.
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.