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

check-case-insensitive.py exception and

From: Blair Zajac <blair_at_orcaware.com>
Date: 2005-07-21 07:33:49 CEST

Hi Martin,

I just got an exception from the new check-case-insensitive.py script
from a large commit that is moving around my entire repository, shown
below. This is Subversion 1.2.0 running on a Debian etch system.

Also, I think it may be best to remove the notes that the Perl version
has been deprecated at least until the new version has been tested out
by a number of people for a while. This assertion was my first commit
with the Python version being called from pre-commit.

$ svn ci -F msg.txt
Deleting branches/orca
Adding orca
Adding orca/branches
Adding orca/tags
Adding orca/trunk
Sending orca/trunk/CHANGES
Sending orca/trunk/README.DEVELOPERS
Deleting tags/orca
Deleting trunk/orca
Transmitting file data ..svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/repos'
svn: 'pre-commit' hook failed with error output:
Traceback (most recent call last):
   File "/var/www/svn/common_hooks/check-case-insensitive.py", line 305,
in ?
     core.run_app(CheckCase, os.path.normpath(sys.argv[1]), sys.argv[2])
   File "/usr/lib/python2.3/site-packages/svn/core.py", line 40, in run_app
     return apply(func, (pool,) + args, kw)
   File "/var/www/svn/common_hooks/check-case-insensitive.py", line 232,
in __init__
     tree = self.look.cmd_tree(changedroot)
   File "/var/www/svn/common_hooks/check-case-insensitive.py", line 92,
in cmd_tree
     return self._print_tree(Editor, rootpath, base_rev=0)
   File "/var/www/svn/common_hooks/check-case-insensitive.py", line 126,
in _print_tree
     e_ptr, e_baton, authz_cb, 0, 1, 0, 0, self.pool)
TypeError: argument number 5: a 'char *' is expected, 'unicode(orca)' is
received

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 21 07:34:29 2005

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.