Mercurial: hgrc
Basic hgrc
[paths]
default = http://bitbucket.org/foo/bar
[auth]
alias.prefix = bitbucket.org/foo/bar
alias.username = foo
alias.password = secret
alias.schemes = http https
[ui]
username = foo <foo@bar.org>
Whitelisting https repository with self-signed certificate
Clone with --insecure option (host fingerprint will be echoed to stdout) and add to hgrc:
[hostfingerprints]
example.org = 7b:65:2d:95:f9:65:27:a1:d7:c8:d6:9e:06:e9:42:09:a3:fb:f0:87
Alternatively, get root certificate (e.g. ca.pem), clone with --config web.cacerts=ca.pem option and add to hgrc:
[web]
cacerts = ca.pem
Enabling coloured console output
Enable color extension:
[extensions]
color =
Customized color options:
[color]
status.modified = cyan
status.added = green
status.removed = red
status.deleted = yellow
status.unknown = none
status.ignored = magenta
diff.trailingwhitespace = underline bold black