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

Re: svnlook fails as subprocess, but succeeds when run directly?

From: <cmpilato_at_collab.net>
Date: 2002-07-26 02:58:39 CEST

Blair Zajac <blair@orcaware.com> writes:

> Karl Fogel wrote:
> > So can anyone think of a reason why svnlook would be able to do
> > charset transcoding when run by hand from the command line, but not
> > when invoked by a script (which itself was invoked by Subversion)?
>
> The only thing I can think of is a different set of environmental
> variables, $LANG, etc. But if it happens over ra_local, then
> why would this happen? Does svn do any environment cleaning?

We are running the hooks *without* inheriting the environment. See
libsvn_repos/hooks.c:run_cmd_with_output().

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 02:58:23 2002

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.