[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: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Mon, 26 Jul 2010 13:47:13 +0200

On Saturday 24 July 2010, Daniel Becroft wrote:
> Ignoring the 'svn should be case-sensitive on windows' argument for the
> moment, how do you even get a successful checkout on Windows at the moment?
> I just setup an example repository, and created the following directories:
>
> /trunk/alpha
> /trunk/ALPHA
>
> Attempting to checkout /trunk

This will fail, simple as that. However, you can check out each directory
separately. You might be able to check out, which fails in the middle, then
locally rename the offending file/folder and then update to fetch the
remaining items.

There is no "handling" for this case in SVN though, all it does is give up,
hence also...

> svn: URL 'file:///C:/temp/svn_sandpit/repository/trunk/ALPHA' of existing
> directory 'trunk\alpha' does not match expected URL
> 'file:///C:/temp/svn_sandpit/repository/trunk/alpha'
>
> This error message is similar to checking out files which differ only in
> case.

...where, if you know what's going on, you can make some sense out of the
error. However, only if you know what's going on, and then it's not a
difficult problem anyways.

I think that Subversion could handle this, but it requires work, and it isn't
work with lots of hackvalue, i.e. not fun. Also, it's much more work than
telling every-Windows-body to install a pre-commit hook to prevent name
conflicts.

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2638235
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-26 13:47:27 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.