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

Re: Weird export behaviour on Win2K in post-commit hook

From: Tom Opgenorth <tom_at_opgenorth.net>
Date: 2004-04-15 03:34:07 CEST

Ben Collins-Sussman wrote:
> In the Unix world, the post-commit hook runs in a very "stripped down"
> environment, as a child of an httpd process. Users constantly find that
> they need to supply absolute paths to programs, or to define environment
> variables that they expected were present, but aren't.
Hmmm, well, I do provide the full path to svn.exe. Does svn.exe
reference any DLL's that aren't being picked up?

> I'm wondering if your network drive isn't available to your C# process
> when launched by apache... if somehow the environment is anemic in some
> way that prevents it from seeing the network? Just a guess.
I wonder if I can find out under what user the process is running as?
    Maybe it's a permissions thing. But if that was the case, I'd
expect something on stderr (see below).

> Is there any way to redirect stderr from your C# program into a logfile,
> so you can see *why* it's not running?
That is another odd thing. When redirect stderr, nothing comes back.
When I check stdout, there appears to be nothing wrong - short of the
output from the svn export command.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 15 03:35:28 2004

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

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