You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Geller <dg...@gmail.com> on 2006/07/15 19:47:24 UTC
svnlook.py and "diff"
Hello,
I have been using the python swig bindings for awhile, and have had
fantastic luck (for our specialized web applications).
However, today I decided to use svnlook.py for doing a "diff", and
received the following error:
[xy@lepton pysvn]$ ./svnlook.py /vaults/vault1 rev 1537 diff
Traceback (most recent call last):
File "./svnlook.py", line 386, in ?
main()
File "./svnlook.py", line 383, in main
SVNLook(sys.argv[1], cmd, rev, txn)
File "./svnlook.py", line 38, in __init__
getattr(self, 'cmd_' + cmd)()
File "./svnlook.py", line 70, in cmd_diff
self._print_tree(DiffEditor, pass_root=1)
File "./svnlook.py", line 128, in _print_tree
e_ptr, e_baton, authz_cb, 0, 1, 0, 0)
File "/usr/local/lib/svn-python/libsvn/repos.py", line 223, in
svn_repos_dir_delta
return apply(_repos.svn_repos_dir_delta, args)
File "./svnlook.py", line 306, in apply_textdelta
self._do_diff(file_baton[2], file_baton[2], file_baton[3])
IndexError: list index out of range
Other commands, like "info" work fine.
Any ideas as to what's causing the error, or how to fix?
Am using:
subversion-1.3.0
swig-1.3.27
Thanks!
David Geller
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org