Re: Hook Scripts (Svn mirror)
From: Himanshu Raina <raina_himanshu_at_yahoo.com>
 
Date: 2007-11-30 09:28:59 CET 
Hi Hari,
 The details are as follows
 Master SVN - host1
 drwxrwx---  7 svn apache 4096 Nov 28 15:57 test
 Mirror SVN - host2
 drwxr-xr-x  6 svnsync     svngrp 4096 2007-11-28 12:57 svnsync
 Created the mirror on host2 by first creating svnsync user and synchronizing the data between master and mirror.
 On master did the following
 svnsync init --username svnsync svn+ssh://svnsync@host2/home/svnsync/svn file:///usr/local/svn/test
 svnsync synchronize --username svnsync svn+ssh://svnsync@host2/home/svnsync/svn
 Since all the transactions are being done at the master svn server the post-commit
 post-commit hook -
 post-rev-changes
 Now whenever the changes are done in the master svn repository
 -rwxrwx--x  1 svn apache   176 Nov 28 12:45 post-commit
 regards
 Hari Kodungallur <hkodungallur@gmail.com> wrote: 
 I have setup SVN mirror and it seems to be working absolutely fine. The problem is the hook-scripts which aren't invoked whenever a commit is done to source repository. The same works fine if i put the entries in the cron. Is there a way to overcome this problem or crontab is the only way out. 
  
        
  | 
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.