[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch fot svnlook.py

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2002-07-13 14:20:17 CEST

Plaing with python binding i have found an error in svnlook.py where
svn_time_from_nts() is called without specifing a pool where allocate
the result. This is the fix:

Log:

tools/examples/svnlook.py SVNLook.cmd_date():
Fix a typo where util.svn_time_from_nts() was called without specifing a pool

Index: tools/examples/svnlook.py
===================================================================
--- tools/examples/svnlook.py
+++ tools/examples/svnlook.py Sat Jul 13 14:12:42 2002
@@ -62,7 +62,8 @@
     else:
       date = self._get_property(util.SVN_PROP_REVISION_DATE)
       if date:
- aprtime = util.svn_time_from_nts(date)
+ aprtime = util.svn_time_from_nts(date, self.pool)
         # ### convert to a time_t; this requires intimate knowledge of
         # ### the apr_time_t type
         secs = aprtime / 1000000 # aprtime is microseconds; make seconds

Ciao

-- 
Daniele
		    --- http://www.grinta.net ---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 13 14:20:54 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.