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

Re: Renaming files on win32

From: Gili <junk_at_bbs.darktech.org>
Date: 2004-12-21 23:52:02 CET

On Tue, 21 Dec 2004 23:18:44 +0100, Norbert Unterberg wrote:

>Gili schrieb:
>
>> Yes, but I am concerned about what happens when someone checks
>>in different files "abc" and "Abc" with a Unix client and then someone
>>under win32 tries to check them out.
>>
>>
>No problem, this is already handled gracefully by subversion:
>"svn: Failed to add file 'file1.txt': object of the same name already
>exists"
>
>This is a very clear message and points you into the correct direction.
>You could never prevent that error when checking out a *nix project with
>a windows client, as long as the svn server is case-preserving.

        The error message is misleading. One does not expect an error
about *adding* a file when all you are doing is checking out. The
message should be something along the lines of: "WARNING: You checked
out file ABC but the following varients also exist: abc, aBc". And what
happens if files "ABC, abc, aBc" exist on the server but the win32
client tries checking out "AbC"? Which of the three with your checkout?
In such a case, I would suggest an error should occur: "ERROR: You
tried checking out file AbC but only the following varients exist: ABC,
abc, aBc".

Gili

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 21 23:54:53 2004

This is an archived mail posted to the Subversion Users mailing list.

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