[Buildbot-commits] buildbot/buildbot/steps source.py,1.12,1.13
Brian Warner
warner at users.sourceforge.net
Tue Apr 29 20:21:38 UTC 2008
Update of /cvsroot/buildbot/buildbot/buildbot/steps
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30793/buildbot/steps
Modified Files:
source.py
Log Message:
[project @ for source mode=copy, use cp -RPp instead of cp -r. Closes #86]
Original author: warner at lothar.com
Date: 2008-04-29 16:31:20+00:00
Index: source.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/steps/source.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- source.py 30 Mar 2008 01:29:56 -0000 1.12
+++ source.py 29 Apr 2008 20:21:36 -0000 1.13
@@ -47,8 +47,8 @@
should be maintained in a separate directory (called the
'copydir'), using checkout or update as necessary. For each
build, a new workdir is created with a copy of the source
- tree (rm -rf workdir; cp -r copydir workdir). This doubles
- the disk space required, but keeps the bandwidth low
+ tree (rm -rf workdir; cp -R -P -p copydir workdir). This
+ doubles the disk space required, but keeps the bandwidth low
(update instead of a full checkout). A full 'clean' build
is performed each time. This avoids any generated-file
build problems, but is still occasionally vulnerable to
More information about the Commits
mailing list