TortoiseHg Copy Similarity feature

后端 未结 3 751
再見小時候
再見小時候 2021-02-08 14:31

When committing changes to Mercurial, it can auto-detect move/copy/renames by using the command

hg addremove -similarity 100

The nu

3条回答
  •  再見小時候
    2021-02-08 15:38

    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.

提交回复
热议问题