[CalendarServer-changes] [6217] CalendarServer/trunk/contrib/performance/svn-committime

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 31 11:46:15 PDT 2010


Revision: 6217
          http://trac.macosforge.org/projects/calendarserver/changeset/6217
Author:   exarkun at twistedmatrix.com
Date:     2010-08-31 11:46:14 -0700 (Tue, 31 Aug 2010)
Log Message:
-----------
Just get one svn log entry

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/svn-committime

Modified: CalendarServer/trunk/contrib/performance/svn-committime
===================================================================
--- CalendarServer/trunk/contrib/performance/svn-committime	2010-08-31 17:39:33 UTC (rev 6216)
+++ CalendarServer/trunk/contrib/performance/svn-committime	2010-08-31 18:46:14 UTC (rev 6217)
@@ -5,6 +5,6 @@
 wc = sys.argv[1]
 revision = int(sys.argv[2])
 client = pysvn.Client()
-[entry] = client.log(wc, pysvn.Revision(pysvn.opt_revision_kind.number, revision))
+[entry] = client.log(wc, pysvn.Revision(pysvn.opt_revision_kind.number, revision), limit=1)
 print datetime.datetime.fromtimestamp(entry['date'])
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100831/85ee19ff/attachment.html>


More information about the calendarserver-changes mailing list