subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Lefevre <vincent-...@vinc17.net>
Subject Problem with svnsync when the auth directory has been removed
Date Thu, 20 Aug 2015 14:29:40 GMT
When the .config/auth directory has been removed (or has never
existed, e.g. when the mirror repository is accessed from a
different machine), I get an error:

$ svnsync sync file://$PWD/svn-mpfr
svnsync: E165001: Revprop change blocked by pre-revprop-change hook (exit code 1) with output:
Only the svnsync user can change revprops

with the pre-revprop-change hook mentioned on:

  http://svn.apache.org/repos/asf/subversion/trunk/notes/svnsync.txt

I would have expected the username "svnsync" to be remembered.

There's no documentation at all about the way it is remembered, and
the relation to the .config/auth directory was not obvious: there's
nothing related to authentication here.

It seems that the fix is to provide the "--sync-username svnsync"
option to svnsync, and then this option is no longer needed. Again,
this is not documented.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Mime
View raw message