diff options
author | Bo Ørsted Andresen <zlin@gentoo.org> | 2008-02-27 12:54:35 +0000 |
---|---|---|
committer | Bo Ørsted Andresen <zlin@gentoo.org> | 2008-02-27 12:54:35 +0000 |
commit | d7cc8529df7a09fd6858cc1978efe12fe08c69ed (patch) | |
tree | a6ccf98267d419956a36dcd8aa1a74e6b3d92329 /eclass | |
parent | Use tb-2.0.0.12 (diff) | |
download | gentoo-2-d7cc8529df7a09fd6858cc1978efe12fe08c69ed.tar.gz gentoo-2-d7cc8529df7a09fd6858cc1978efe12fe08c69ed.tar.bz2 gentoo-2-d7cc8529df7a09fd6858cc1978efe12fe08c69ed.zip |
Mention which revision is used when fetching is disabled.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/subversion.eclass | 7 |
1 files 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 |