Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: subversion.eclass
Date: Sun, 26 Apr 2009 01:57:18
Message-Id: E1LxtcI-0004Db-PZ@stork.gentoo.org
1 arfrever 09/04/26 01:57:14
2
3 Modified: subversion.eclass
4 Log:
5 Run 'svn cleanup' to automatically upgrade working copies.
6
7 Revision Changes Path
8 1.62 eclass/subversion.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?rev=1.62&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?rev=1.62&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/subversion.eclass?r1=1.61&r2=1.62
13
14 Index: subversion.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v
17 retrieving revision 1.61
18 retrieving revision 1.62
19 diff -u -r1.61 -r1.62
20 --- subversion.eclass 22 Mar 2009 01:56:34 -0000 1.61
21 +++ subversion.eclass 26 Apr 2009 01:57:14 -0000 1.62
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2009 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.61 2009/03/22 01:56:34 arfrever Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/subversion.eclass,v 1.62 2009/04/26 01:57:14 arfrever Exp $
27
28 # @ECLASS: subversion.eclass
29 # @MAINTAINER:
30 @@ -230,12 +230,14 @@
31 ${ESVN_FETCH_CMD} ${options} "${repo_uri}" || die "${ESVN}: can't fetch to ${wc_path} from ${repo_uri}."
32
33 elif [[ -n ${ESVN_OFFLINE} ]]; then
34 + svn cleanup "${wc_path}"
35 subversion_wc_info "${repo_uri}" || die "${ESVN}: unknown problem occurred while accessing working copy."
36 if [[ -n ${ESVN_REVISION} && ${ESVN_REVISION} != ${ESVN_WC_REVISION} ]]; then
37 die "${ESVN}: You requested off-line updating and revision ${ESVN_REVISION} but only revision ${ESVN_WC_REVISION} is available locally."
38 fi
39 einfo "Fetching disabled: Using existing repository copy at revision ${ESVN_WC_REVISION}."
40 else
41 + svn cleanup "${wc_path}"
42 subversion_wc_info "${repo_uri}" || die "${ESVN}: unknown problem occurred while accessing working copy."
43
44 local esvn_up_freq=