Phil,

Yes, I tested that too.  Interestingly, tab fails but space is OK.
So with a UTF-8 filesystem, I wonder what else misbehaves?
Since there are only two characters that cannot be used in UNIX file elements (null and "/"), this seems
a bit restrictive, even as an SCM system.

Translating with URI substitutions might work, but it will be a bit painful!

Mark.

Philipp Marek wrote:
On Sunday 09 July 2006 15:22 Philipp Marek wrote:
  
Hello Mark,

On Thursday 06 July 2006 10:56 Mark J Hewitt wrote:
    
Are you planning to relieve the restriction on whitespace in filenames?
      
To be honest I didn't even know that there is such a restriction.
It's time to extend the fsvs-internal tests, I believe.
    
...
  
You're of course completely right - that must work.
    
...
I now had a bit of time to look at that.

The good news: fsvs does nothing wrong.
The bad news: svn doesn't allow "special" characters in filenames.

Look here:
	/tmp$ svnadmin create t
	/tmp$ mkdir z
	/tmp$ cd z
	/tmp/z$ svn co file:///tmp/t/ .
	Ausgecheckt, Revision 0.
	/tmp/z$ touch "tab  file"
	/tmp/z$ svn add *
	svn: Ungültiges Steuerzeichen '0x09' in Pfad 'tab       file'
	/tmp/z$ LC_ALL=C svn add *
	svn: Invalid control character '0x09' in path 'tab      file'

Or take a look at the end of subversion/libsvn_subr/path.c:
	svn_error_t *svn_path_check_valid(const char *path, apr_pool_t *pool)
	...

Issue 1954 does mention that problem - although from another angle 
(http://subversion.tigris.org/issues/show_bug.cgi?id=1954)

If I read http://svn.haxx.se/dev/archive-2004-11/1063.shtml correctly 
subversion will *not* allow special characters in filenames; but I'll start a 
discussion on [EMAIL PROTECTED].

If subversion doesn't allow special characters, I'd think fsvs *must* do some 
(internal) translation for them (eg. "\t" -> "	") and record somehow that 
this filename must be de-translated.

	[I believe that a backup-tool *must* be able to store *all* files - not only
	 those which "look right"!]

Although fsvs won't be strictly svn-compliant (but it's not anymore, since it 
allows versioning of devices too - and these cannot be checked out with 
subversion).

If you like, look for the discussion on [EMAIL PROTECTED]; but I'll 
surely report the final words here.


Thank you *very much* for reporting this!


Regards,

Phil



  

Reply via email to