diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-10-26 19:04:44 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2010-10-26 19:04:44 +0000 |
commit | 332626078da65335f81ba20901828e1d83b32ffc (patch) | |
tree | 3427f01cfbac08d689144c69077fd9824acffb52 /eclass | |
parent | Bug #342751 - Fix for PyQt4-4.8 compatibility. (diff) | |
download | gentoo-2-332626078da65335f81ba20901828e1d83b32ffc.tar.gz gentoo-2-332626078da65335f81ba20901828e1d83b32ffc.tar.bz2 gentoo-2-332626078da65335f81ba20901828e1d83b32ffc.zip |
Export HG_REV_ID, see bug #339920.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mercurial.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index 2ffa9c22cf24..192200894477 100644 --- a/eclass/mercurial.eclass +++ b/eclass/mercurial.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.13 2010/08/24 16:49:18 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.14 2010/10/26 19:04:44 nelchael Exp $ # @ECLASS: mercurial.eclass # @MAINTAINER: @@ -126,7 +126,7 @@ function mercurial_fetch { # id num branch # fd6e32d61721 6276 default local HG_REVDATA=($(hg identify -b -i "${WORKDIR}/${module}")) - local HG_REV_ID=${HG_REVDATA[0]} + export HG_REV_ID=${HG_REVDATA[0]} local HG_REV_BRANCH=${HG_REVDATA[1]} einfo "Work directory: ${WORKDIR}/${module} global id: ${HG_REV_ID} branch: ${HG_REV_BRANCH}" } |