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

RE: [TSVN] case-sensitive filename conflict on commit. How to testthis?

From: <h.larsen_at_risoe.dk>
Date: 2005-10-02 13:18:17 CEST

> > Aren't there anything TSVN could do to help out on detecting this
> > conflict?

Stefan Küng wrote-->
> Not really. TSVN can't know that you have another working copy, and it
> can't know *where* that working copy is located. We could try to list
> all files in the repository before every commit, but that would just
> take too long a time ('svn ls' isn't very fast).

Would you think the implementation of a pre-commit hook to check for conflicting filename case, would suffer similar performance problem?

I tried the http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/check-case-in sensitive.py. but only on a very small repos, so this gave no idea of performance. I would'nt be surprised if it would be slow due to the interpreted nature of the Python program.
Problem with this solution is that it relies on Python being installed. Better then would be a single executable, but maybe it all ends up waiting at the same bottleneck as Stefan mentions: "('svn ls' isn't very fast)"


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Oct 2 13:18:50 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.