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

Re: svn commit - (no author)

From: v4r4n <console.cowboy_at_gmail.com>
Date: 2004-10-14 00:03:46 CEST

> REPOS should be a regular path to the repos, not a URL.
I actually tried that earlier and figured the URL was safest, but
neither worked.

> But why are you hard-setting them at all? Why not do what the
> template says to do?
I started to hard-set them all because the script was not working. I
don't understand what the script is telling me to do. It just says
what happens.

svn propset requires this hook no matter what. It isn't like I
started messing with this to see what happens. It doesn't matter that
this property has no history and will be lost when I overwrite it, so
the script doesn't really serve a purpose at this time. I don't plan
on calling other programs to back up the lost data.

The file is executable and not on a windows system, I don't know what
else the script is telling 'me' to do. I'm a *nix newbie, so nothing
is obvious.

I thought the template starts with and protects the svn:log, because
the log property is special and has lots of other forms of
modification.

Was it expected that I would want to add a:

if [ "$PROPNAME" = "svn:author" ]; then <{do lots of stuff that
doesn't apply}> exit 0; fi

I just know that svn isn't happy and won't let me change the author property.

Should I just delete what is in the script and feed svn and empty
pre-revprop-change script?

'echo "Failing due to wrong property" 1>&2' worked fine:

$ svn propset -r 9 --revprop svn:author "author"
svn: 'pre-revprop-change' hook failed with error output:
Failing due to wrong property

$

chmod 777:

$ ls -l
total 24
-rw-r--r-- 1 author users 1411 Sep 30 17:17 post-commit.tmpl
-rw-r--r-- 1 author users 1475 Sep 30 17:17 post-revprop-change.tmpl
-rw-r--r-- 1 author users 2336 Sep 30 17:17 pre-commit.tmpl
-rwxrwxrwx 1 author users 2102 Oct 13 13:36 pre-revprop-change
-rw-r--r-- 1 author users 1952 Sep 30 17:17 pre-revprop-change.tmpl
-rw-r--r-- 1 author users 1533 Sep 30 17:17 start-commit.tmpl

On 13 Oct 2004 14:46:42 -0500, kfogel@collab.net <kfogel@collab.net> wrote:
> v4r4n <console.cowboy@gmail.com> writes:
> > $ svn propset -r 9 --revprop svn:author "author"
> > svn: 'pre-revprop-change' hook failed with error output:
> >
> > $
> >
> > "Failing due to wrong property" is not displayed since the script
> > probably isn't being executed at all for some reason.
>
> I'd still like to see that 'ls -l' of the executable version.
>
> -Karl
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 14 00:04:17 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.