summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-04-07 19:26:34 +0200
committerUlrich Müller <ulm@gentoo.org>2022-04-07 19:26:34 +0200
commitcdcfb8939c0031cb2cfd6783a8a641fa66714080 (patch)
tree5fb711a88950dde1f78f2579135b0ed480bd82ab /eclass
parentnet-analyzer/gnome-nettool: Update icon cache (diff)
downloadgentoo-cdcfb8939c0031cb2cfd6783a8a641fa66714080.tar.gz
gentoo-cdcfb8939c0031cb2cfd6783a8a641fa66714080.tar.bz2
gentoo-cdcfb8939c0031cb2cfd6783a8a641fa66714080.zip
mercurial.eclass: Remove conditionals for EAPIs 0, 1, 2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mercurial.eclass4
1 files changed, 1 insertions, 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"