1 |
kolmodin 07/11/01 19:24:24 |
2 |
|
3 |
Modified: darcs.eclass |
4 |
Log: |
5 |
Make the darcs eclass copy using rsync instead of cp like most other SCM |
6 |
eclasses to exclude the _darcs directory. |
7 |
Patch by Avuton Olrich <avuton@×××××.com>. |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 eclass/darcs.eclass |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/darcs.eclass?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/darcs.eclass?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/darcs.eclass?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: darcs.eclass |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- darcs.eclass 17 Jun 2007 21:33:57 -0000 1.5 |
23 |
+++ darcs.eclass 1 Nov 2007 19:24:24 -0000 1.6 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 2004 Gentoo Technologies, Inc. |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.5 2007/06/17 21:33:57 kolmodin Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.6 2007/11/01 19:24:24 kolmodin Exp $ |
29 |
# |
30 |
# darcs eclass author: Andres Loeh <kosmikus@g.o> |
31 |
# tla eclass author: <rphillips@g.o> |
32 |
@@ -142,7 +142,7 @@ |
33 |
|
34 |
EDARCS_SHOPT=$(shopt -p dotglob) |
35 |
shopt -s dotglob # get any dotfiles too. |
36 |
- cp -Rf "$EDARCS_TOP_DIR/$EDARCS_LOCALREPO"/* "${WORKDIR}/${P}" |
37 |
+ rsync -rlpgo --exclude="_darcs/" "$EDARCS_TOP_DIR/$EDARCS_LOCALREPO"/* "${WORKDIR}/${P}" |
38 |
eval ${EDARCS_SHOPT} # reset shopt |
39 |
|
40 |
einfo "Darcs repository contents are now in ${WORKDIR}/${P}" |
41 |
|
42 |
|
43 |
|
44 |
-- |
45 |
gentoo-commits@g.o mailing list |