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

RE: FW: broken file name handling

From: Paul Charlton <techguru_at_byiq.com>
Date: Thu, 25 Sep 2008 13:24:32 -0700


Thanks for the pointers and additional information!

The problem is not so easy to dismiss. I started by "svn co
http://svn.collab.net/repos/svn" (HEAD)

It failed in the mk.xiv project, with errors about "?" file name.

I agree that if you go checkout mk.xiv directly, there is no problem.

But look where things are now, as follows ... the "svn up" (in resuming the
aborted checkout of "/") is failing with the same error ... the corruption
ended up in the ".svn" folder somehow, and "svn co /" is producing a
different result than "svn co /mk.xiv" for the contents of the mk.xiv


C:\Users\Paul Charlton\Downloads\svn_itself\mk.xiv>dir
 Volume in drive C has no label.
 Volume Serial Number is 9210-79E1

 Directory of C:\Users\Paul Charlton\Downloads\svn_itself\mk.xiv

09/23/2008 11:40 PM <DIR> .
09/23/2008 11:40 PM <DIR> ..
               0 File(s) 0 bytes
               2 Dir(s) 43,611,774,976 bytes free

C:\Users\Paul Charlton\Downloads\svn_itself\mk.xiv>svn info
Path: .
URL: http://svn.collab.net/repos/svn/mk.xiv
Repository Root: http://svn.collab.net/repos/svn
Revision: 33302
Node Kind: directory
Schedule: normal

C:\Users\Paul Charlton\Downloads\svn_itself\mk.xiv>svn up
svn: Can't check path '?WHAT?.txt': The filename, directory name, or volume
l syntax is incorrect.

C:\Users\Paul Charlton\Downloads\svn_itself\mk.xiv>

-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn_at_gmail.com] 
Sent: Thursday, September 25, 2008 12:48 PM
To: dev_at_subversion.tigris.org
Cc: Paul Charlton
Subject: Re: FW: broken file name handling
Paul Charlton wrote:
> do you have any suggestions how to proceed?
* first, read this:
* never send mails directly to the developers, always
  use the mailing list.
then: if you had checked the log for that url, you'd have noticed that the
file -WHAT-.txt was named ?WHAT?.txt in revisions before r28723, such a name
can't be used on Windows at all ('?' is an illegal char for
file/foldernames). That's why the file was renamed in r28723 to -WHAT-.txt.
Checking out HEAD of that url works just fine.
> *From:* Paul Charlton [mailto:techguru_at_byiq.com]
> *Sent:* Wednesday, September 24, 2008 7:20 AM
> *To:* dev_at_subversion.tigris.org
> *Subject:* broken file name handling
> "svn up" from http://svn.collab.net/repos/svn/mk.xiv fails from 
> windows clients (1.5 collab.net & tortoise)
> as follows:
> svn: Can't check path '?WHAT?.txt': The filename, directory name, or 
> volume label syntax is incorrect.
> the repo browser shows "-WHAT-.txt"
> It seems like the client and server don't agree on a canonical form 
> for filenames which may be incompatible with the underlying client file
> Obviously in the short term, the problem can be fixed by renaming the 
> file in this project's repository.
> a) I would appreciate a sanity check from a developer experienced with 
> this project
> b) likewise, if there is a related bug already filed that someone on 
> this list knows about, I don't want to file a duplicate
> c) I will also agree that there is likely no need to ever checkout the 
> specific file from this project's repository, but it did obtain an 
> "interesting" result.
> d) as to who I am, why I care, etc ... I will do a proper introduction 
> in a separate posting.  thanks.
> Certified Guru
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-25 22:25:58 CEST

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

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