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

[TSVN] Re: Bug in SubWCRev

From: Timo Falk <falk_at_neumag.de>
Date: 2005-03-17 10:42:09 CET

Am Wed, 16 Mar 2005 16:42:11 +0100 schrieb SteveKing:


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

Ah, of course! My fault.

> If you really need to pass a trailing slash,
> you have to use a double backslash '\\'.

The $(ProjectDir)-Macro in the Buildevents of VS2003 gives me the path with
trailling backslash. So I have to write

subwcrev "$(ProjectDir)\" "$(ProjectDir)assemblyinfo.cs.rev"

to get it work. Looks a little silly but works.



To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Mar 17 10:47:50 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.