Enable stable package building for Mercurial.
Merge pull request #1839 from Fanael/master

Enable stable package building for Mercurial.