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

Re: [PATCH] [Issue 1942] svn+ssh should use the port value

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2006-02-08 01:51:03 CET

Kamesh Jayachandran <kamesh@collab.net> writes:

> memcpy(*argv, cmd_argv, n * sizeof(char *));
> - (*argv)[n++] = svn_path_uri_decode (hostinfo, pool);
> + if (uri->port_str != NULL)
> + {
> + (*argv)[n++] = "-p";
> + (*argv)[n++] = uri->port_str;
> + }
> + (*argv)[n++] = svn_path_uri_decode (uri->hostname, pool);

Unless i misread this, your patch breaks every agent
configuration except certain ssh or plink ones, or any other
agent definition that would happen to work with a '-p' appended
to it.

-1

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 8 01:51:21 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.