For future reference, see:
http://subversion.tigris.org/faq.html#hook-debugging
-Karl
Penghui Wang <wangpenghui@realss.com> writes:
> On Mon, 2005-04-11 at 16:17 +1000, Steve Williams wrote:
> > Penghui Wang wrote:
> > > 1. cp commit_email.pl which provided by subversion document
> > > to /path/to/repos/hooks.
> > > 2. chmod +x commit_email.pl
> > > 3. mv post_commit.tmpl to post_commit and modify it to:
> > > ./commit_email.pl "$REPOS" "$REV" --from subversion@example.com
> > > wangpenghui@example.com then chmod +x post_commit.
> > >
> > > But if i commit some changes to the repos, nothing happened.
> > >
> > > What's wrong with my installation, or missing some configuration?
> >
> > Try using the full path. "./commit_email.pl" will not work because
> > there is no environment passed from server to hook.
> >
>
> Follow your suggestion, it works now. Thanks for your help.
>
> In the post_commit
>
> ===wrong===
> commit_email.pl
> ./commit_email.pl
>
> ===correct===
> /absolute/path/to/commit_email.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 18:20:01 2005