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

svnlook.py and "diff"

From: David Geller <dgeller_at_gmail.com>
Date: 2006-07-15 21:47:24 CEST

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
Received on Sat Jul 15 21:48:30 2006

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

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