Some typo's in my mail that I didn't spot the first time 

> 5) Synchronise the repositories
> svnsync synchronize --username svnsync 
> svn+ssh://svns...@remote/var/svn/mirror
> 
> 6) Put the local repo into read-only mode temporarily and 
> repeat step 6 (since otherwise it would read-only for many hours)
> Do this by setting at the top of the scripts
> /var/svn/master/hooks/{pre-commit,pre-revprop-change}
> echo "Repository temporarily read only contact blah if this 
> is an issue"
> exit 1

Start of 6 should have read
"6) Put the local repo into read-only mode temporarily and repeat step 5"

> 7) Add post-commit and post-rev-changes to forward and future 
> changes to the master repository to the 
> /var/svn/master/hooks/post-commit
> /usr/local/bin/svnsync synchronize --username svnsync 
> svn+ssh://svns...@remote/var/svn/mirror &
> 
> /var/svn/master/hooks/post-rev-change
> REV="$2"
> /usr/local/bin/svnsync copy-revprops --username svnsync 
> svn+ssh://svns...@remote/var/svn/mirror $REV &


End of step 7 should have been remove the read-only changes made in step 6 from 
the local master. Otherwise, as I'm sure someone will point out, you won't be 
able to commit to the master.

--
Regards,
Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.

Postal Address:    Hewlett Packard Galway Limited, Ballybrit Business Park, 
Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's 
Quay Dublin 2
Registered Number: 361933 

Reply via email to