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

Re: post-commit hook question

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-06-22 22:57:21 CEST

Oh, one other thing. The post-commit template says that it is passed in a
REPOS-PATH but I think it is passing in a URL.

????

   Thanks
   - David

On Sat, 22 Jun 2002, David Summers wrote:

> I'm playing with the hooks for the first time and just set up to send
> email via the commit-email.pl ${REPOS} ${REV} emailaddress
> hook described as the default in the post-commit hook template.
>
> However it was giving me errors on the client when I tried it and when I
> tried it manually on the server I got error message:
> svn_error: #21088 : <Berkeley DB error>
> Berkeley DB error while opening environment for filesystem
> file:///home/svnroot/test/db:
> No such file or directory
>
>
> It looks to me like the post-commit is being passed a URL for the
> repository and the commit-email.pl wants a path. I know I can just set
> the path in the post-commit hook but was just checking to see if this was
> the "RIGHT THING TO DO (TM)".
>
> Thanks
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 22 23:00:08 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.