You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2004/02/16 07:15:00 UTC

Re: svnlook.py doesn't support new authz arguments

On Wed, Jan 28, 2004 at 11:56:13AM +0100, Juanma Barranquero wrote:
> Running
> 
>   svnlook.py \my\repo
> 
> from 1.0.x or trunk produces:
> 
>   Traceback (most recent call last):
>     File "D:\usr\wrk\svnlook.py", line 387, in ?
>       main()
>     File "D:\usr\wrk\svnlook.py", line 384, in main
>       core.run_app(SVNLook, sys.argv[1], cmd, rev, txn)
>     File "C:\bin\svn\python\svn\core.py", line 33, in run_app
>       return apply(func, (pool,) + args, kw)
>     File "D:\usr\wrk\svnlook.py", line 41, in __init__
>       getattr(self, 'cmd_' + cmd)()
>     File "D:\usr\wrk\svnlook.py", line 45, in cmd_default
>       self.cmd_tree()
>     File "D:\usr\wrk\svnlook.py", line 94, in cmd_tree
>       self._print_tree(Editor, base_rev=0)
>     File "D:\usr\wrk\svnlook.py", line 129, in _print_tree
>       e_ptr, e_baton, 0, 1, 0, 0, self.pool)
>   TypeError: svn_repos_dir_delta() takes exactly 14 arguments (12 given)
> 
> It seems it doesn't support these arguments:
> 
>    svn_repos_authz_func_t authz_read_func
>    void *authz_read_baton

This is a bug in the python bindings.  That should be fixed.  Maybe I'll
get to it...

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org