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

Re: Minor bug: Checkout doesn't accept forward slashes in the checkout directory path

From: Brad Stiles <bradstiles_at_bellsouth.net>
Date: Mon, 07 Jan 2008 17:32:23 +0000

> This is triggered by a / in the path (and goes away if I use a \ instead), but
> it does not mention '/' as invalid character. Which is correct BTW., as forward
> and backward slashes can be used interchangeably as directory separators since
> DOS 2.0 or so, so '/' actually is a valid character.

Note that the forward slash is *not* a one for one analog to backslash in DOS/Win. For instance, 'cd /' will not change to the root directory, and 'cd /temp' will look for a directory named 'temp' in the current directory, rather than the root. In addition, if a command takes switches, a forward slash might be interpreted as starting one of those.

Whether or not those restrictions apply to the paths used in TSVN, I don't know.

All that said, it would be nice if TSVN translated forward slashes into back slashes for paths, since the '/' character isn't valid in a file name, for just the reason stated.


To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-01-07 18:32:36 CET

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.