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

Feature request for discussion: Provide better error handling when repo file contains invalid characters for checkout OS

From: Rob Wilmshurst <rjwilmsi_at_googlemail.com>
Date: Fri, 9 Apr 2010 11:05:12 +0100

This is my write up of a feature request for discussion: *Provide better
error handling when repo file contains invalid characters for checkout OS*

After setting up a local SVN server on my Linux desktop PC and checking out
via SSH to my Windows 7 desktop I came across errors on checkout that turned
out to be over files that contained colons in their names.

The error message was "The filename, directory name, or volume label syntax
is incorrect". Strictly a correct message but not very informative. It took
me quite a long time to work out what this meant. I am not the only person
to get stung by this error –

I would like to make a feature request for two changes:

1) Update the documentation to include a section on what happens with
invalid characters / special characters (could not find any reference to
it). As far as I can see the TortoiseSVN help files don't even state the
level of support for accented characters etc. which is a non-obvious thing
for me. Something like "TortoiseSVN supports file names containing any
characters that your version of Windows supports...Windows specifically
disallows characters \/:*?"<>| in file names..." would be great, if my
assumptions are correct.

2) If at all possible in TortoiseSVN make the error message more helpful to
the user in this circumstance. "Error... file name of 'Hello:world.txt'
contains invalid character ':'" or similar would be great. Windows 7 tells
me it doesn't allow any of \/:*?"<>| in file names, so maybe TortoiseSVN
could specifically check for those ones?




To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-09 12:12:13 CEST

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