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

Re: Small tool to make Tortoise auto-connect to VPN

From: Leo Davidson <leonudeldavidson_at_gmail.com>
Date: Sun, 11 Jul 2010 20:13:44 +0100

On 11 July 2010 17:35, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> btw: you don't have to use a bat file to start the tool. Just pass the
> parameter as part of the "path to script".

I couldn't get that to work. I haven't had a chance to investigate
properly but a couple of ideas:

There's a space in the path to the command (I've got it stored below
Program Files) which might complicate things. I tried with and without
quotes around the command path, with the VPN name argument always
unquoted.

Also, if TSVN always sends the normal arguments (PATH DEPTH
MESSAGEFILE CWD) to the command, appended to the string in the config
dialog, I think that will cause my code to reject the command-line for
having too many arguments. (I wrote it like that so people who don't
know to quote arguments get a syntax error if their VPN name contains
a space.)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2632031

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-11 21:13:54 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.