diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-02-21 18:03:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-02-21 18:03:49 +0000 |
commit | b89a40f8c546834dc29507639e4e673c0f849ce3 (patch) | |
tree | b83cee12f6da962561d751075991676ba9efaf73 /eclass/subversion.eclass | |
parent | Stable for amd64, wrt bug #405085 (diff) | |
download | historical-b89a40f8c546834dc29507639e4e673c0f849ce3.tar.gz historical-b89a40f8c546834dc29507639e4e673c0f849ce3.tar.bz2 historical-b89a40f8c546834dc29507639e4e673c0f849ce3.zip |
Respect ESVN_USER, ESVN_PASSWORD and ESVN_OPTIONS on repo update, #401737
Diffstat (limited to 'eclass/subversion.eclass')
-rw-r--r-- | eclass/subversion.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass index 37c61cde81ba..c3e21336b53d 100644 --- a/eclass/subversion.eclass +++ b/eclass/subversion.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.74 2012/02/14 16:08:11 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.75 2012/02/21 18:03:49 jlec Exp $ # @ECLASS: subversion.eclass # @MAINTAINER: @@ -473,7 +473,9 @@ subversion__svn_info() { local target="${1}" local key="${2}" - env LC_ALL=C svn info "${target}" | grep -i "^${key}" | cut -d" " -f2- + env LC_ALL=C svn info \ + ${options} --username "${ESVN_USER}" --password "${ESVN_PASSWORD}" \ + "${target}" | grep -i "^${key}" | cut -d" " -f2- } ## -- subversion__get_repository_uri() --------------------------------------- # |