use mercurial included histedit extension
add /etc/mercurial/hgrc file for certificate