On Apr 1, 2009, at 16:45, allen gordon wrote:
> I am attempting to mirror an existing repo. I've created a local
> repo with 'svnadmin create /var/svn/svn-mirror'. I have copied the
> hooks/*.tmpl files to .sh files and made them executable. But when
> I run 'svnsync initialize file:////var/svn/svn-mirror https://
> {remote repo} --source-username {username} --source-password
> {password}' I get:
>
> svnsync: Repository has not been enabled to accept a revision
> propchanges; ask the admin to create a pre-revprop-change hook.
>
> This script exists and is executable, but it seems that svnsync is
> not able to find it, since it doesn't matter if its in the hooks
> directory or not. I have R/W access to both the local and the
> remote subversion repos.
The .tmpl files in the hooks directory are just templates --
examples. You must rename them to not have the .tmpl extension if you
want to enable them. Subversion will not look for the files with
the .tmpl extension, the .sh extension, or any other extension. You
may also have to rewrite the scripts to meet your needs.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1527884
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 05:12:49 CEST