summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-10-26 19:04:44 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-10-26 19:04:44 +0000
commitdf9cb6eba35ecc171e81d2855fdec6534ba8057b (patch)
tree38bdd3da6f7fba391f5b1266a3258352848d4149 /eclass/mercurial.eclass
parentBug #342751 - Fix for PyQt4-4.8 compatibility. (diff)
downloadhistorical-df9cb6eba35ecc171e81d2855fdec6534ba8057b.tar.gz
historical-df9cb6eba35ecc171e81d2855fdec6534ba8057b.tar.bz2
historical-df9cb6eba35ecc171e81d2855fdec6534ba8057b.zip
Export HG_REV_ID, see bug #339920.
Diffstat (limited to 'eclass/mercurial.eclass')
-rw-r--r--eclass/mercurial.eclass4
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}"
}