[CalendarServer-changes] [7408] CalendarServer/trunk/contrib/performance/profile.sh
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 3 10:54:29 PDT 2011
Revision: 7408
http://trac.macosforge.org/projects/calendarserver/changeset/7408
Author: exarkun at twistedmatrix.com
Date: 2011-05-03 10:54:29 -0700 (Tue, 03 May 2011)
Log Message:
-----------
Support any revision spec in the profile script; also make it do quoting a bit better.
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/profile.sh
Modified: CalendarServer/trunk/contrib/performance/profile.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/profile.sh 2011-05-03 17:53:53 UTC (rev 7407)
+++ CalendarServer/trunk/contrib/performance/profile.sh 2011-05-03 17:54:29 UTC (rev 7408)
@@ -22,12 +22,14 @@
sudo -v # Force up to date sudo token before the user walks away
-REV=$1
-LOGS=$2
-RESULTS=$3
+REV_SPEC="$1"
+LOGS="$2"
+RESULTS="$3"
-update_and_build $REV
+update_and_build "$REV_SPEC"
+REV="$(./svn-revno "$SOURCE_DIR")"
+
DATE="`./svn-committime $SOURCE $REV`"
for backend in ${BACKENDS[*]}; do
setbackend $backend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110503/c8669fa6/attachment.html>
More information about the calendarserver-changes
mailing list