summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-02-08 06:51:04 +0000
committerUlrich Müller <ulm@gentoo.org>2011-02-08 06:51:04 +0000
commit50afffcbfaadc7917a8acd2bf505aaeaeb519e42 (patch)
treeb6e51614b9eaa441afc8978e432da8ea06a7ae0b /eclass
parentAdd a comment. (diff)
downloademacs-50afffcbfaadc7917a8acd2bf505aaeaeb519e42.tar.gz
emacs-50afffcbfaadc7917a8acd2bf505aaeaeb519e42.tar.bz2
emacs-50afffcbfaadc7917a8acd2bf505aaeaeb519e42.zip
Document EBZR_MIRROR_URI.
svn path=/emacs-overlay/; revision=1612
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bzr.eclass13
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index ec2bf27..2663390 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -82,6 +82,17 @@ esac
# make sure that dev-vcs/bzr was built with USE="sftp". In EAPI 2 or
# later, the eclass will depend on dev-vcs/bzr[sftp].
+# @ECLASS-VARIABLE: EBZR_MIRROR_URI
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# The URI of a fast mirror of the source repository. If this variable
+# is set, the initial branch will be cloned from the mirror, followed
+# by a pull from the original repository. This is intended for special
+# cases, where download from the original repository is slow, but a fast
+# mirror exists but may be out of date.
+#
+# Normally, this variable needs not be set.
+
# @ECLASS-VARIABLE: EBZR_BOOTSTRAP
# @DEFAULT_UNSET
# @DESCRIPTION:
@@ -211,7 +222,7 @@ bzr_fetch() {
if [[ ${EBZR_FETCH_CMD} != *checkout* && -d ${repo_dir}/.bzr/checkout ]]
then
local tmpname=$(mktemp -u "${repo_dir}._old_.XXXXXX")
- ewarn "checkout from old version of bzr.eclass found, moving it to:"
+ ewarn "checkout from old version of ${EBZR} found, moving it to:"
ewarn "${tmpname}"
ewarn "you may manually remove it"
mv "${repo_dir}" "${tmpname}" \