I'm rewriting/cleaning-up mercurial.eclass, I've tested whenever ebuilds
currently using it work and observed no breakage, nevertheless I could use
second pair of eyes (or more), so: if you use mercurial.eclass please apply
patch from https://bugs.gentoo.org/259898 and report any problems.