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

Re: svn rev 4704: FAIL (ra_svn, sparc-sun-solaris2.8 static)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-02-03 02:52:32 CET

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> > CMD: svn "propset" "--revprop" "-r" "0" "cash-sound" "cha-ching!" "working_copies/prop_tests-11"
> > svn: A repository hook failed.
> > svn: pre-revprop-change hook failed with error output:
> >
> > FAIL: prop_tests.py 11: set and get a revprop change
> > END: prop_tests.py
>
> Okay, I've trimmed the uninteresting parts. The reason this failed is that
> subversion requires you to have a pre-revprop-change hook or else it won't
> allow you to change rev-props. This is because otherwise you could lose data.
>
> I'm not sure how the tests normally get around this.
>
> Anyone else?

The test should create a file called

subversion/tests/clients/cmdline/repositories/prop_tests-11/hooks/pre-revprop-change

it should be executable, it should contain

#!/bin/sh

exit 0

If you run it from the command line it should produce no output and
the return value (use echo $?) should be zero.

How can it fail? The shell will effectively be started by the svnserve
process. Perhaps solaris doesn't have /bin/sh? Perhaps you have a
.profile that is causing an error?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 02:53:19 2003

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.