Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358977 - app-portage/smart-live-rebuild does not work with mercurial version ids
Summary: app-portage/smart-live-rebuild does not work with mercurial version ids
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 05:13 UTC by Kaleb Elwert (belak)
Modified: 2011-03-27 20:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaleb Elwert (belak) 2011-03-15 05:13:59 UTC
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...
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-03-15 13:41:07 UTC
Do you encounter such a problem with more than one ebuild? Could you point me to the particular ebuilds?
Comment 2 Kaleb Elwert (belak) 2011-03-15 15:06:38 UTC
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.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-03-18 21:35:18 UTC
Please try with a68fb23.
Comment 4 Kaleb Elwert (belak) 2011-03-18 22:51:16 UTC
I can confirm that this works with the latest -9999 build from your repo.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-03-27 20:59:41 UTC
/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