[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: M <marcus.rohrmoser_at_gmx.de>
Date: 2004-04-15 14:11:07 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Opgenorth schrieb:
| 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).

Sure you can:
        string user = System.Environment.UserDomainName + "\\" +
System.Environment.UserName;

Hope this helps,
        M

|
|> 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
|
|
- --
/**********************************************************

~ Thanx, the "GR_FRameRAM8" is much more elegant than a
~ mere "19", naturally.

~ mailto:marcus.rohrmoser@gmx.de
~ http://marcusr.gmxhome.de/

Infos über email Verschlüsselung mit GnuPG/PGP bei
http://www.gnupp.de
**********************************************************/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAfnvb3wDNYFytWz8RAipBAKC7JZplURkc1mM88/mx98lYOEv6FQCdHkR5
JlNWSXfPMdsAyMFlfNVO9g0=
=t7Lp
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 15 14:12:03 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.