[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: <Stefan.Meinlschmidt_at_elektrobit.com>
Date: Mon, 7 Jan 2008 18:51:33 +0100

> > 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.

Ah, sorry, I should have made myself more clear. / and \ are
interchangeable as parameters to system functions. They are not
necessarily equivalent as commandline parameters to programs, as they
might interpret / as option prefix or whatever. So wherever work is
delegated to an external program, normalizing path parameters to \
sounds like a reasonable thing to do, as well as removing other possibly
nasty chars.


P.S.: Please CC me, as I'm not subscribed.

Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

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:57:24 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.