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

Re: Possible wc corruption

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-06-23 10:22:48 CEST

Nicklas Norling wrote:
> Hi.
>
> I just ran across a problem while testing the case sensitivity script
> contributed to svn on trunk recently.

This script was written to stop two independent users from adding the same file but with different
case. My understanding is that you are doing this:

  1. Add and commit Second.txt
  2. Delete Second.txt from your working copy
  3. Add second.txt
  4. Commit

My case script works correctly at stage 4, it prevents you from adding the file. The root of your
problem is that at stage 3 the svn client has allowed you to add a file with differing case to your
working copy - there's not a lot the server pre-commit script can do about that.

I am pretty sure this issue describes your problem:

   http://subversion.tigris.org/issues/show_bug.cgi?id=667

At least you can checkout and start again, without the server side script you would have had both
files in the repository and would have had to delete one of them by URL before you could continue.

I hope that helps.

-- 
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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 23 10:23:35 2004

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.