[CalendarServer-changes] [6182] CalendarServer/trunk/contrib/performance/svn-committime
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 25 13:44:45 PDT 2010
Revision: 6182
http://trac.macosforge.org/projects/calendarserver/changeset/6182
Author: exarkun at twistedmatrix.com
Date: 2010-08-25 13:44:44 -0700 (Wed, 25 Aug 2010)
Log Message:
-----------
a helper to report the revision date of a wc
Added Paths:
-----------
CalendarServer/trunk/contrib/performance/svn-committime
Added: CalendarServer/trunk/contrib/performance/svn-committime
===================================================================
--- CalendarServer/trunk/contrib/performance/svn-committime (rev 0)
+++ CalendarServer/trunk/contrib/performance/svn-committime 2010-08-25 20:44:44 UTC (rev 6182)
@@ -0,0 +1,6 @@
+#!/usr/bin/python
+
+import sys, datetime
+import pysvn
+print datetime.datetime.fromtimestamp(pysvn.Client().info(sys.argv[1])['commit_time'])
+
Property changes on: CalendarServer/trunk/contrib/performance/svn-committime
___________________________________________________________________
Added: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100825/bf86a43c/attachment.html>
More information about the calendarserver-changes
mailing list