[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:10:56 CEST

Peter Kay wrote:
> I'm playing around with TortoiseSVN - very nice :) But I ran into a bit
> of confusion at one point trying to check something out & I think it
> (barely) qualifies as a "bug." At least changing the error message
> would clear things up :)
>
> Here's where I was:
> In the Repository Browser, opened a URL to a repository, selected a
> subdirectory of that repository.
>
> Right Click, Checkout.
>
> In the "Checkout directory" box, I filled in "z:/dir", expecting, as is
> the usual convension of unixy tools on Windows, that it would accept the
> forward slash. Instead, I got:

This might be the 'usual convention' for unix tools. But TSVN is a
windows application. And windows paths use backslashes, as everyone knows.

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

> I finally figured out it was the forward slash after it worked when I
> selected the browse button ("..."). Can that error checking be tidied
> up a bit, one way or another? If nothing else, if you say "Windows
> paths need \, not /", then it'd saved me time!

Why did you specify a forward slash in the first place? You're working
on Windows!

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:11:31 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.