app-portage/smart-live-rebuild cannot determine the hg revision if the folder exists in /usr/portage/distfiles Reproducible: Always Steps to Reproduce: 1. Emerge a -9999 hg app 2. Run smart-live-rebuild Actual Results: The updating to revision shows up as 000000000000. Expected Results: The correct revision will show up and the package will only update if needed. If I had to guess, I'd say the hg revision wasn't being set right. I know -r -1 gets the latest local revision, though I'm not sure if that will help. I'm not sure where env['EHG_REVISION'] is set...
Do you encounter such a problem with more than one ebuild? Could you point me to the particular ebuilds?
For me, it's the x11-wm/subtle-9999 ebuild in my own overlay (layman -a belak). If you can point me to another app that uses mercurial in a -9999 package, I'd be willing to try it though and see if it's just an issue with my ebuild.
Please try with a68fb23.
I can confirm that this works with the latest -9999 build from your repo.
/var/cvsroot/gentoo-x86/app-portage/smart-live-rebuild/smart-live-rebuild-0.7.1.ebuild,v <-- smart-live-rebuild-0.7.1.ebuild initial revision: 1.1