[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-13 21:39:32 CEST

My pre-revprop-change script is just the original pre-revprop-change.tmpl with:

REPOS="file:///example/svn/repo/project/trunk"
REV="9"
USER="author"
PROPNAME="svn:author"

if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
exit 1

Instead of:

REPOS="$1"
REV="$2"
USER="$3"
PROPNAME="$4"

if [ "$PROPNAME" = "svn:log" ]; then exit 0; fi
exit 1

When I first tried the command without a pre-revprop-change script it
complained that it couldn't find one, so it is finding the script, but
now it isn't telling me what is failing.

I'm not sure what you mean by the contents and full directory entry
listing including my script.

My modified *.tmpl file is simply in the project's repo/hooks
directory. There are just the original 5 template script files and my
slightly modified version with no .tmpl file extension within this
directory.

$ ls -all
total 32
drwxr-xr-x 2 author users 4096 Oct 13 11:06 .
drwxr-xr-x 7 author users 4096 Sep 30 17:17 ..
-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
-rw-r--r-- 1 author users 2017 Oct 13 11:06 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

I modified pre-revprop-change's executability permissions before, and
it still gave the same error response, so I left it as is.

On 13 Oct 2004 12:03:40 -0500, kfogel@collab.net <kfogel@collab.net> wrote:
> v4r4n <console.cowboy@gmail.com> writes:
> > bump bump
> >
> > Do I need to set up the post-revprop-change as well?
>
> No.
>
> > It seems there might also be a "revision property modifications" flag
> > that needs to be enabled somewhere?
> >
> > $ svn propset -r N --revprop svn:author "author"
> >
> > just isn't working. It is nice that it tells me there is an error,
> > but error response is blank...
>
> What does your 'pre-revprop-change' script look like? Show us both
> the contents and a full directory entry listing including that file.
>
> -Karl
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 21:40:07 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.