| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.74 2012/02/14 16:08:11 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.75 2012/02/21 18:03:49 jlec Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: subversion.eclass |
5 | # @ECLASS: subversion.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Akinori Hattori <hattya@gentoo.org> |
7 | # Akinori Hattori <hattya@gentoo.org> |
| 8 | # Bo Ørsted Andresen <zlin@gentoo.org> |
8 | # Bo Ørsted Andresen <zlin@gentoo.org> |
| … | |
… | |
| 471 | # |
471 | # |
| 472 | subversion__svn_info() { |
472 | subversion__svn_info() { |
| 473 | local target="${1}" |
473 | local target="${1}" |
| 474 | local key="${2}" |
474 | local key="${2}" |
| 475 | |
475 | |
|
|
476 | env LC_ALL=C svn info \ |
|
|
477 | ${options} --username "${ESVN_USER}" --password "${ESVN_PASSWORD}" \ |
| 476 | env LC_ALL=C svn info "${target}" | grep -i "^${key}" | cut -d" " -f2- |
478 | "${target}" | grep -i "^${key}" | cut -d" " -f2- |
| 477 | } |
479 | } |
| 478 | |
480 | |
| 479 | ## -- subversion__get_repository_uri() --------------------------------------- # |
481 | ## -- subversion__get_repository_uri() --------------------------------------- # |
| 480 | # |
482 | # |
| 481 | # param $1 - a repository URI. |
483 | # param $1 - a repository URI. |