Ryan Schmidt wrote:
> On Apr 11, 2006, at 22:57, Jesse Guardiani wrote:
>
>> It appears that subversion just doesn't attempt to care about the
>> client filesystem's case sensitivity. So according to that, if
>> I need to develop on win32 for a linux server, then I need to go
>> with the least common denominator and avoid the use of case sensitive
>> filenames and symlinks altogether.
>>
>> Is that an accurate assessment? Or am I missing something?
>
> That's accurate. It's advisable therefore to install a pre-commit hook
> preventing commits of files whose names would cause such case
> collisions. A hook script which implements this behavior is provided in
> the Subversion repository. See also this:
>
> http://subversion.tigris.org/faq.html#case-change
>
> The exercise of straightening out the mess of a large repository filled
> with such case collisions is, unfortunately, left to the reader.
On linux, I found the case conflicts using simple shell tools
(where public_* contain the working copies I want to clean):
find public_* > all.txt
sort -d < all.txt > sorted-all.txt
uniq -i < sorted-all.txt > pruned.txt
diff -u sorted-all.txt pruned.txt
Then I simply did an `svn rm filename` for each file I wanted to remove.
And finally `svn commit`. Pretty simple.
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 20:47:48 2006