From 3180ec13dab2afcb01f1bc2d1823041b5c67ef8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bo=20=C3=98rsted=20Andresen?= Date: Wed, 27 Feb 2008 12:54:35 +0000 Subject: [PATCH] Mention which revision is used when fetching is disabled. --- eclass/subversion.eclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 1f8474555cc8..c48fa331b871 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.55 2008/02/21 16:33:09 zlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.56 2008/02/27 12:54:35 zlin Exp $ # @ECLASS: subversion.eclass # @MAINTAINER: @@ -227,7 +227,7 @@ subversion_fetch() { if [[ -n ${ESVN_REVISION} && ${ESVN_REVISION} != ${ESVN_WC_REVISION} ]]; then die "${ESVN}: You requested off-line updating and revision ${ESVN_REVISION} but only revision ${ESVN_WC_REVISION} is available locally." fi - einfo "Fetching disabled: Using existing repository copy" + einfo "Fetching disabled: Using existing repository copy at revision ${ESVN_WC_REVISION}." else subversion_wc_info "${repo_uri}" || die "${ESVN}: unknown problem occurred while accessing working copy." @@ -236,7 +236,8 @@ subversion_fetch() { if [[ -n ${ESVN_UP_FREQ//[[:digit:]]} ]]; then die "${ESVN}: ESVN_UP_FREQ must be an integer value corresponding to the minimum number of hours between svn up." elif [[ -z $(find "${wc_path}/.svn/entries" -mmin "+$((ESVN_UP_FREQ*60))") ]]; then - einfo "Fetching disabled since ${ESVN_UP_FREQ} hours hasn't passed since last update." + einfo "Fetching disabled since ${ESVN_UP_FREQ} hours has not passed since last update." + einfo "Using existing repository copy at revision ${ESVN_WC_REVISION}." esvn_up_freq=no_update fi fi -- 2.26.2