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

Re: [TSVN] Windows case-sensitive request

From: Martin Tomes <lists_at_tomes.org>
Date: 2005-07-23 13:37:30 CEST

Glenn R Heard Jr wrote:
> On Wednesday, July 20, 2005 11:37 AM Martin Tomes wrote:
>
>>I committed a Python script check-case-insensitive.py yesterday.
>>
>>Using this script you can avoid getting into the biggest mess
>>which is adding a case sensitive file name clash to the repository.
>>
>>Although there are plenty of potential problems with the
>>client not understanding case insensitive file systems those
>>problems don't occur very often.
>>
>>Don't use the Perl one, I will remove it at some point.
>
>
> Martin,
> I can't get the script to run, here is its exception output:
>
> C:\Lang\Projects\foo>svn ci . -m "foo"
> Sending new text document.TXT
> Transmitting file data .svn: Commit failed (details follow):
> svn: MERGE request failed on '/svn/util/foo'
> svn: 'pre-commit' hook failed with error output:
> foo: Traceback (most recent call last):
> File "e:/hooks/check-case-insensitive.py", line 64, in ?
> from svn import fs, core, repos, delta
> File "E:\Python23\Lib\svn\fs.py", line 19, in ?
> from libsvn.fs import *
> File "E:\Python23\Lib\libsvn\fs.py", line 5, in ?
> import _fs
> ImportError: DLL load failed: The specified module could not be found.
>
> I do have the python bindings installed. They are installed in the python
> Libs folder ( on Win32 ). As you can see, it finds the fs.py but for some
> reason can't load the _fs.dll. My version of svn is 1.2.0.14790 and so is
> the python bindings. Do you or anyone else know why the DLL won't load?

I had to copy the subversion dll's into the same directory as the Python
  bindings to get it to work. I am sure there must be a better way, but
I don't know what that better way is:-(

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jul 23 13:37:53 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.