[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-20 17:47:15 CEST

Bill.Hughes@cgi-europe.com wrote:
> Martin Tomes wrote:
> > Lübbe Onken wrote:
> >> Hi Pawel,
> >>> Our company runs entirely on WindowsXP, and we found problem with
> >>> case- sensitive locks/logins/checkouts.
> > >
> >> Please read this: http://tortoisesvn.sourceforge.net/?q=node/8
> >
> > I committed a Python script check-case-insensitive.py yesterday.
> > Don't use the Perl one, I will remove it at some point.
>
> What's wrong with the Perl hook? I don't have python at present but do
> use perl...

The Perl version of the script runs svnlook and parses the output. It
also has a logic error (which is unlikely to bite) and is not very
efficient. There is limited scope for improvement to the Perl script so
I wrote a Python script which uses the Subversion Python language
bindings to directly query the repository. This script is much more
efficient than the Perl one. There is also scope for another major leap
in efficiency which I will get round to coding sometime.

Why Python? It appears to be favoured by the Subversion developers and
there were plenty of examples of how to use the Python language bindings
at the level I needed. And I need to get to understand Trac which is
written in Python and this was an opportunity to get to grips with the
language.

There are instructions in the script on how to get it working on Unix
like systems and on Windows.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
Visit 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 Wed Jul 20 17:47:47 2005

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

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