From cdcfb8939c0031cb2cfd6783a8a641fa66714080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Thu, 7 Apr 2022 19:26:34 +0200 Subject: [PATCH] mercurial.eclass: Remove conditionals for EAPIs 0, 1, 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- eclass/mercurial.eclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass index 2f54314568e67..8f0e6edfeb0b4 100644 --- a/eclass/mercurial.eclass +++ b/eclass/mercurial.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mercurial.eclass @@ -106,8 +106,6 @@ EHG_OFFLINE="${EHG_OFFLINE:-${EVCS_OFFLINE}}" mercurial_fetch() { debug-print-function ${FUNCNAME} "${@}" - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= - EHG_REPO_URI=${1-${EHG_REPO_URI}} [[ -z "${EHG_REPO_URI}" ]] && die "EHG_REPO_URI is empty"