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

Re: SVN and NTFS - illegal character ':' in filename

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 23 Mar 2010 13:25:35 -0400

On Tue, Mar 23, 2010 at 11:04, Markus Fried <markus_fried_at_gmx.net> wrote:
> Hi Ryan,
> it's not a file I put into SVN that causes the problem - it seems that SVN attached a kind of time stamp for one of its book keeping files in the .svn folder.
> So I cannot use your solution.

My organization uses Subversion exclusively with Windows clients and
we have never seen this behavior. Subversion isn't doing what you
describe above, that filename was put into your repository by someone.

> -------- Original-Nachricht --------
>> Datum: Tue, 23 Mar 2010 06:46:52 -0500
>> Von: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
>> An: Markus Fried <markus_fried_at_gmx.net>
>> CC: users_at_subversion.apache.org
>> Betreff: Re: SVN and NTFS - illegal character \':\' in filename
>> On Mar 23, 2010, at 05:14, Markus Fried wrote:
>> > I'm using SVN (client side) on a Win7 64bit box with NTFS. I've got an
>> issue when SVN tried to create a (SVN-system-file) named "locations-fit
>> (10.08.09 09:52).js.svn-base".
>> >
>> > On NTFS a ':' marks an "alternate data stream", so a "svn update"
>> produces an file system error.
>> >
>> > Is there a way to tell SVN not to use such file names?
>> You can write a pre-commit hook preventing the commit of files whose names
>> contain forbidden characters. There's a whole list of characters and
>> filenames that Windows doesn't like that it would be useful to prevent the
>> commit of. I'm not sure if anybody has written such a script yet.
>> After you put such a hook script in place, you may also still need to look
>> at all the files already in your repository and see if any of them violate
>> the naming restrictions, and rename them if they do.
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
Received on 2010-03-23 18:26:25 CET

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