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

Re: Subversion, Linux, and pre-commit hook script - no workie

From: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: 2007-12-28 00:53:08 CET

On Dec 27, 2007 3:22 PM, Shane Huesdon <Shane.Huesdon@bcaa.com> wrote:
> Any output I got I posted, I did try one where I set 0 on the way out to
> ensure a positive test but still bombed. The problem doesn't seem
> related to the contents of the script but rather the process of calling
> it as the repo.

In my experience, putting echo statements is useless: the output
disappears. Unless you echo to stderr or a file.

If you tried simple pre-commits like "exit -1" and "exit 0" and it
didn't make any difference then I doubt you're scripts are running.
Are you sure they're in the right spot? Are you using the right
repository (assuming you have multiple)?

(I would definitely recommend creating a test repository on your
production server so you can really test things out. Every now and
then I make a copy of our production repository just so I have a
sandbox. Other people will probably appreciate that as well.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 28 01:01:45 2007

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.