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

RE: Manually invoking post-commit works, svn-invoking post-commit doesn't

From: Stuart Robertson <dogmatix_at_absolutesys.com>
Date: 2004-01-12 08:27:01 CET

Thanks for the info. I redirected stderr to stdout and got the following in
my summary email:

  svn: Expected version '2' of repository; found version '3'

Turns out I had old svn 0.32.1 binaries in /usr/local/bin, and the newly
installed 0.35.1 binaries (installed via RPM) where placed into /usr/bin.
Moving the old binaries into an archive folder *ALMOST* did the trick.

Now, most of my script works, but "svnlook diff" *stil* returns nothing.
When manually invoked, svnlook diff works fine, however when invoked by
Apache, it produces no output whatsoever, even with stderr redirected to
stdout.

Any one seen this before?

Stuart.

> -----Original Message-----
> From: epg@gould.diplodocus.org
> [mailto:epg@gould.diplodocus.org] On Behalf Of Eric Gillespie
> Sent: Friday, January 09, 2004 5:40 PM
> To: users@subversion.tigris.org
> Subject: Re: Manually invoking post-commit works,
> svn-invoking post-commit doesn't
>
> "Stuart Robertson" <dogmatix@absolutesys.com> writes:
>
> > As I mentioned previously, I assumed this was some kind of
> > delayed-writing issue caused by more aggressive caching by SVN
> > or something, but no matter how long I make my scripts sleep
> > before running svnlook, svnlook still returns nothing when
> > invoked by Apache.
>
> I doubt that's the problem, especially since my hook scripts are
> working fine. I think you are having some other problem, but
> aren't seeing stderr. Run your svnlook command with its stdout
> and stderr mailed to you. I bet you'll see the problem.
>
> --
> Eric Gillespie <*> epg@pretzelnet.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 12 08:27:46 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.