commit: cdcfb8939c0031cb2cfd6783a8a641fa66714080
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 7 17:26:34 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 7 17:26:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdcfb893
mercurial.eclass: Remove conditionals for EAPIs 0, 1, 2
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eclass/mercurial.eclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/eclass/mercurial.eclass b/eclass/mercurial.eclass
index 2f54314568e6..8f0e6edfeb0b 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"