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

Re: Request: client-to-server environment variables (was: make the user agent string a define)

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2005-01-11 00:49:40 CET

--On Monday, January 10, 2005 11:35 PM +0000 Max Bowsher <maxb@ukf.net>

> Sure, I said environment variables would be a suitable way to pass
> information that the server happens to have available to hook scripts.
> But now you are talking about some kind of generic mechanism for
> marshalling arbitrary key/value pairs from the client to the hook scripts?

Actually, environment variables are not passed through to the hook scripts
(see svn_io_run_cmd with the NULL argument for env). Greg Hudson and I had
a discussion about that recently on here. The precedent in httpd is not to
pass them, however it's semi-reasonable to expect that for SSH. -- justin

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 11 00:50:53 2005

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.