From 055641a8f4566a873b2f2e4594bdc20ec6c74893 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Wed, 3 Aug 2011 19:01:16 +0000 Subject: [PATCH] =?utf8?q?Use=20--updaterev=20instead=20of=20--rev,=20than?= =?utf8?q?ks=20to=20Micha=C5=82=20G=C3=B3rny=20(mgorny@gentoo.org),=20see?= =?utf8?q?=20bug=20#367481.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- eclass/mercurial.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index 3ae1d53c7c97..9aa5e876e59b 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.15 2010/11/17 18:42:03 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mercurial.eclass,v 1.16 2011/08/03 19:01:16 nelchael Exp $ # @ECLASS: mercurial.eclass # @MAINTAINER: @@ -27,8 +27,8 @@ DEPEND="dev-vcs/mercurial" # @DESCRIPTION: # Create working directory for specified revision, defaults to tip. # -# EHG_REVISION is passed as a value for --rev parameter, so it can be more than -# just a revision, please consult `hg help revisions' for more details. +# EHG_REVISION is passed as a value for --updaterev parameter, so it can be more +# than just a revision, please consult `hg help revisions' for more details. [[ -z "${EHG_REVISION}" ]] && EHG_REVISION="tip" # @ECLASS-VARIABLE: EHG_STORE_DIR @@ -120,7 +120,7 @@ function mercurial_fetch { einfo "Creating working directory in ${sourcedir} (target revision: ${EHG_REVISION})" hg clone \ ${EHG_QUIET_CMD_OPT} \ - --rev="${EHG_REVISION}" \ + --updaterev="${EHG_REVISION}" \ "${EHG_STORE_DIR}/${EHG_PROJECT}/${module}" \ "${sourcedir}" || die "hg clone failed" # An exact revision helps a lot for testing purposes, so have some output... -- 2.26.2