summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-03-22 01:56:34 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-03-22 01:56:34 +0000
commit6d0158f8ed60c8efcf555290ddf67be161515f3a (patch)
treedd17a1e50d8b532f5f96a436f89503ab56b38e8b /eclass
parentold (diff)
downloadgentoo-2-6d0158f8ed60c8efcf555290ddf67be161515f3a.tar.gz
gentoo-2-6d0158f8ed60c8efcf555290ddf67be161515f3a.tar.bz2
gentoo-2-6d0158f8ed60c8efcf555290ddf67be161515f3a.zip
Update for compatibility with Subversion 1.6.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/subversion.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/subversion.eclass b/eclass/subversion.eclass
index 56c2f62a4ec3..2b2a1b6b4fcd 100644
--- a/eclass/subversion.eclass
+++ b/eclass/subversion.eclass
@@ -1,11 +1,12 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.60 2008/05/27 09:49:09 zlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.61 2009/03/22 01:56:34 arfrever Exp $
# @ECLASS: subversion.eclass
# @MAINTAINER:
# Akinori Hattori <hattya@gentoo.org>
# Bo Ørsted Andresen <zlin@gentoo.org>
+# Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
#
# Original Author: Akinori Hattori <hattya@gentoo.org>
#
@@ -206,6 +207,10 @@ subversion_fetch() {
ewarn "see \${ESVN_REPO_URI}"
fi
+ if has_version ">=dev-util/subversion-1.6.0"; then
+ options="${options} --config-option=config:auth:password-stores="
+ fi
+
debug-print "${FUNCNAME}: wc_path = \"${wc_path}\""
debug-print "${FUNCNAME}: ESVN_OPTIONS = \"${ESVN_OPTIONS}\""
debug-print "${FUNCNAME}: options = \"${options}\""