Hi,

I use standard post-commit and post-revprop-change hooks as described in svn 
book.

post-revprop-change.cmd:
@ECHO OFF

SET REPOS="%1"
SET REV="%2"
SET USER="%3"
SET PROPNAME="%4"
SET ACTION="%5"

"%VISUALSVN_SERVER%"bin\svnsync copy-revprops  --non-interactive 
--source-username subversion_svc --sync-username subversion_svc 
http://svn-k/svn/VTRSTCIT %REV%


post-commit.cmd:
@ECHO OFF

SET REPOS="%1"
SET REV="%2"

"%VISUALSVN_SERVER%"bin\svnsync sync --non-interactive --source-username 
subversion_svc --sync-username subversion_svc http://svn-k/svn/VTRSTCIT

I've initialized the auth cache initially by passing the password at the 
command line, so authorization shouldn't be an issue.

Iniial sync was done in a two-way approach due to the size of the repository.
1. svnadmin hotcopy \\server1\d$\Subversion\Repositories\VTRSTCIT 
\\server2\d$\Subversion\Repositories\VTRSTCIT
2. svnsync initialize --allow-non-empty --source-username subversion_svc 
--sync-username subversion_svc http://svn-k/svn/VTRSTCIT 
https://svn/svn/VTRSTCIT

Regarding the errors on svn update - I could clarify that only svn commit 
produces errors under yet unknown circumstances.

lG
Daniel Wagner

-----Ursprüngliche Nachricht-----
Von: Wagner Daniel 
Gesendet: Montag, 30. Juli 2012 14:34
An: 'users@subversion.apache.org'
Betreff: svnsync: E160013

Dear all,

My users often get errors like this one when performing svn operations like 
commit or update.

Error: post-commit hook failed (exit code 1) with output:  
Error: svnsync: E160013: 
'/svn/VTRSTCIT/!svn/txr/4174-387/BusinessObjects/Reports/ENDUR/ENDUR_Controlling/ICE_CO2_%20Bewertung_nach_Portfolio_und_Lieferjahr_+2012.rep'
 path not found  

We use VisualSVN 2.5.5 which includes Subversion 1.7.5 on Windows 2008 R2 
running behind an IIS 7.5 as reverse-proxy, the mirror server uses the same 
versions of the software. Clients use TortoiseSVN 1.7.7.

It seems that the commit was successful on the main subversion server but 
svnsync isn't able to sync because the version of the mirror repository is 
behind the master repository.

Any ideas how to solve this?

Regards,
Daniel

Reply via email to