[CalendarServer-changes] [13453] CalendarServer/trunk/support/submit
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 7 11:11:33 PDT 2014
Revision: 13453
http://trac.calendarserver.org//changeset/13453
Author: wsanchez at apple.com
Date: 2014-05-07 11:11:33 -0700 (Wed, 07 May 2014)
Log Message:
-----------
Better way to copy only the relevant source files.
Modified Paths:
--------------
CalendarServer/trunk/support/submit
Modified: CalendarServer/trunk/support/submit
===================================================================
--- CalendarServer/trunk/support/submit 2014-05-06 19:06:18 UTC (rev 13452)
+++ CalendarServer/trunk/support/submit 2014-05-07 18:11:33 UTC (rev 13453)
@@ -132,16 +132,14 @@
if "${build}"; then
echo "";
echo "Copying ${src}...";
- ignores="$(mktemp -t CalendarServer_ignores)";
- svn st --no-ignore | sed -n -e 's|^I...... ||p' > "${ignores}";
+ # Only copy fiels that are under revision control
+ svn_files="$(mktemp -t svn_files_XXXX)";
+ svn info -R . | sed -n "s|^Path: ||p" > "${svn_files}";
rsync -av \
- --exclude=".svn" \
- --exclude=".develop" \
- --exclude="subprojects" \
- --exclude-from="${ignores}" \
+ --files-from="${svn_files}" \
"${src}/" "${wc}" \
;
- rm "${ignores}";
+ rm "${svn_files}";
else
echo "";
echo "Exporting ${uri}@${revision}..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140507/0f20df52/attachment.html>
More information about the calendarserver-changes
mailing list