summaryrefslogtreecommitdiff
path: root/eclass/mercurial.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/mercurial.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"