В .hg/hgrc вставляем:
[defaults]
cdiff = -q
[extensions]
color =
hgext.extdiff =
[extdiff]
cmd.cdiff = colordiff
opts.cdiff = -uprN
Возможно понадобится установить colordiff :
aptitude install colordiff
В .hg/hgrc вставляем:
[hooks]
#Для windows
precommit.removeDebug = hg diff -S | findstr "dump print_r var_dump" && EXIT /B 1 || EXIT /B 0
[ui]
ssh = ssh -C -i ~/.ssh/KEY_FILE_NAME
[paths]
default = ssh://hg@bitbucket.org/NAME/REPO_NAME