You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniele Nicolodi <da...@grinta.net> on 2002/07/13 12:20:17 UTC
Patch fot svnlook.py
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