[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem with svnsync when the auth directory has been removed

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Thu, 20 Aug 2015 16:29:40 +0200

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)
Received on 2015-08-20 16:29:45 CEST

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.