[common] add mercurial