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

Re: check-mime-type, Windows client, non-ASCII path

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Thu, 02 Feb 2012 11:05:21 +0100

Am 02.02.2012 08:37, schrieb Ignacio González (Eliop):
> I cannot imagine a sensible way of using svn mv with the files that are
> already checked-in with Windows clients and want to check out from Linux
> clients.
> Is there some way to force the Linux server / svn server / svn hooks to
> use the 'Windows' filename convention, whatever it is?

The paths inside the repository are stored as UTF-8, which provides full
Unicode capabilities. UTF-8 is often (though not always!) used on Linux
systems as encoding for paths in the filesystem, so this is not a
problem. For MS Windows, the filesystem encoding is UTF-16, to which
UTF-8 can be converted without loss, so this is also not a problem.

To address your question, there is no filesystem convention to adjust
to, and it also doesn't matter from which system something was checked in.

> Is there some way to reprocess (dump / load or whatever) the whole
> repository in order to make happy both Linux clients and Windows clients
> without changing the non-ASCII characters as seen by both clients?

This should not be necessary, unless you have garbage inside the
repository, see my earlier response.

> What I was really surprised is to see that the filenames flowing through the
> communication channel is not normalised (well, that is just speculation,
> am I wrong?). Is there a way to force the clients to convert the names
> to same canonical form (e.g., UTF-8) and back to the resident filesystem
> convention again?

This is exactly what is done, what makes you think otherwise? Generally,
as Stefan suggested, please don't tell us your interpretation of what
you saw without first telling us what you saw, because that makes it
impossible to distinguish between a fault in what happened and a fault
in your interpretation.

Domino 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.dominolaser.com
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. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
Received on 2012-02-02 11:06:41 CET

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.