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

Re: File names under Windows/Linux

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Mon, 7 Jan 2013 22:50:26 +0000

On 6 January 2013 05:19, John Doe <untraceable_at_nurfuerspam.de> wrote:
> Dear maillist members/developers,
>
> I'm currently sharing an SVN-Repository with some linux users. As you might know, the characters
> \ / : * ? " < > |
> can't be used in Windows file names, but under Linux they are (partially) OK.
>
> I've currently got the following big problem:
> A file like "something -> something else.txt" renders the whole (local) svn directory unusable, such that even the cleanup fails with the error
> "Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch."
> (engl. The syntax for the file name, directory name or device name is wrong.) when TSVN tries to move the file svn-HEXNUMBER to "something -> something else.txt" for all the selectable cleanup options.
>
> The exact same error happens with | in a file name.
>
> For now I'll make it work manually, but it would be great, if in future Versions, you could integrate something like an escape sequence (and logically backtranslation of the file name when updating the SVN) for exactly those cases.

This fact that you cannot cleanup is an issue with the subversion
library, not TSVN per se, so you should report this on the subversion
users mailing list.

It is possible to rename files in the repository using repo browser to
any name you like.

To protect yourself in the future you might consider installing a
pre-commit hook to check that names are valid both for windows and
linux. That is a server issue, so again the subversion users list is
your friend.

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=3041645
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-07 23:50:32 CET

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.