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

Re: [TSVN] Checkout directory confusion: / vs \

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-19 22:23:03 CEST

Mark Phippard wrote:
> Stefan Küng <tortoisesvn@gmail.com> wrote on 09/19/2005 04:10:56 PM:
>
>
>>>"This is not a valid path!
>>> A valid path must not contain '|:?*:' or..."
>>>
>>>But in Windows, a valid path just about has to contain a colon.
>>
>>Well, the error message also shows up if you enter a path like
>>c:\folder\another:folder\file
>>So ':' is not allowed *inside* a path.
>>Sure, we could extend that error message to contain the whole MSDN
>>section on what's a valid path on windows, but that's two pages long and
>
>
>>not really good for an error message.
>
>
> If this message is coming from TortoiseSVN, perhaps the best thing would
> be to use the exact same text that Microsoft does, which appears to be
> this:
>
> A filename cannot contain any of the following characters:
> \ / : * ? " < > |
>
> It sounds like the main problem is that TSVN is not mentioning the / in
> the list of characters, as Windows does.

Windows (more specific, the explorer) shows this message if you enter an
illegal *file*name. But TSVN has to check the whole *path*. And in a
path, the '\' is definitely allowed, as is the ':' after the drive
letter (but not later).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 19 22:23:27 2005

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

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