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

Re: [TSVN] Re: Bug in SubWCRev

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-03-16 16:42:11 CET

Timo Falk wrote:
> Am Wed, 9 Mar 2005 12:34:29 +0100 schrieb Timo Falk:
>
> Hi!
>
> If there out someone who can reproduce that bug?
>
> commandline-output:
> ----- snip ----- snip ----- snip -----
> D:\test>subwcrev "d:\test\ohneSpace" wc-test.txt.tpl wc-test.txt
> d:\test\ohneSpace is at revision: 3
>
> D:\test>subwcrev "d:\test\ohneSpace\" wc-test.txt.tpl wc-test.txt
> directory or file d:\test\ohneSpace" wc-test.txt.tpl wc-test.txt does not
> exist
> ----- snip ----- snip ----- snip -----
>
> Note the trailing backslash in the wc-path!

That's not a bug in SubWCRev. That's the behaviour of all command line
programs which use the default argc/argv[] functions to get all the
params on the command line. The backslash char is used as an escaping
char so it is possible to pass quotes on the command line. So '\"'
actually passes the quote. If you really need to pass a trailing slash,
you have to use a double backslash '\\'.

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 Wed Mar 16 16:44:07 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.