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

Re: BUG: when performing a checkout use the cased url as in the download URL

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Wed, 21 Jul 2010 22:35:39 +0100

On 21 July 2010 14:02, dave b <db.pub.mail_at_gmail.com> wrote:
> On 21 July 2010 22:40, Ulrich Eckhardt <eckhardt_at_satorlaser.com> wrote:
>> On Wednesday 21 July 2010, dave b wrote:
>>> When performing a checkout use the cased url as in the download URL on
>>> windows.
>> [...snipped explanation of how things fail when nodes only differ in case on
>> MS Windows...]
>>
>> Dave, if the filesystem can not represent something, that could indeed be
>> handled similarly to a failed merge operation, only that is is a conflict on
>> a different level. This can be case changes on MS Windows, but it could also
>> be a full disk or an invalid path on any system.
>>
>>> I think that tortoisesvn should [...]
>>
>> TSVN is just a program sitting on top of Subversion, which handles all the
>> working copy handling. For that reason, you are asking the wrong developers
>> to provide code for handling this case. Instead, you should ask the
>> Subversion developers.
>
> Ok now usually I would agree with you here and I do partially.
> However, that could mean that ALL software that uses SVN on windows,
> could now potentially be broken ;P (I am sure they could fix it
> without breaking them ;P). Seeing tortoisesvn provides svn for a lot
> of windows users and *that* is their svn perhaps tortoisesvn should
> take this into account. In anycase, if svn handles this then
> tortoisesvn will have to handle the end user messages produced by svn
> and potentially opt into the api/methods to use my feature as per this
> request.
>
> I am going to report this bug in svn as well, as you suggest. You are
> correct, it is an svn bug.

It is not a bug, it is designed behaviour in Subversion, even if those
of us using Windows find it to be inconvenient sometimes. This
question comes up frequently on the subversion mailing lists and I can
tell you that it is not about to change because people using
case-sensitive file systems actually want that behaviour. Well, some
of them do.

The recommended solution for repositories which are used both by
Windows and *nix users is to install a pre-commit hook on the server
to check for such case collisions and prevent them from being
committed in the first place.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2636504
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-21 23:35:50 CEST

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

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