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

Re: FS#13 - Check if entered paths/urls are valid in windows

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 22 May 2008 16:16:35 -0400

On Thu, May 22, 2008 at 4:02 PM, Jens Weibler
<jens.weibler_at_jens-weibler.de> wrote:
> Stefan Küng wrote:
>>
>> Jens Weibler wrote:
>>>
>>> Hi,
>>>
>>> a small update for a really old bug: "FS#13 - Check if entered paths/urls
>>> are valid in windows".
>>>
>>> TortoiseSVN doesn't check user input for label names.
>>
>> What do you mean with "label names" ?
>
> Sorry, I meant creating a tag.
> e.g. in the Repository Browser: right click on a item, Show log, right click
> on a revision, "Create tag from revision".
>
> If you enter forbidden character or reserved name, every checkout will fail:
> "Can't create directory: [..]: The directory name is invalid."

At that point, you're working on URLs, not local paths, so you're
playing by Subversion's naming rules, not Windows, and not TSVN's (if
it even has any).

Forbidden/reserved characters/names on Windows are permitted on other
OSes and in Subversion. Due to its cross-platform nature, Subversion
can't know all the characters/names it should "prevent" - sure, you
can hit some of the bigger OSes, but what about when someone ports SVN
to IBM mainframes (if it hasn't been done already)?

Very similar to case sensitivity. *NIX is case-sensitive, as is
Subversion - Windows isn't. Subversion allows you to have filenames
which differ only in case, but it'll throw an error on Windows.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-05-22 22:16:43 CEST

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

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