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

[PATCH] - Remove unneeded code from svnadmin

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 20 May 2011 12:58:11 -0400

Log message and patch attached.

svnadmin create accepts the --config-dir option but no longer uses it
for anything. I do not believe we can remove the option from the UI,
but we can remove the code that get the configuration. The reason is
that I have observed a couple of odd scenarios where this code causes
problems.

1) The process running svnadmin does not have read authority to
$HOME/.subversion For example, here is an example from a mailing
list:

http://lists.okfn.org/pipermail/kforge-user/2007-February/000088.html

2) Have observed similar problem on Windows when the process is
running and it could not determine the home folder. Never figured out
the root cause of this problem, as normally this does work OK on
Windows.

The workaround people have used is to specify --config-dir and point
it at ' ' or some random folder they can read. But if we just removed
this code they would not get a problem in the first place.

Ran make check and manually tested the binary.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/


Received on 2011-05-20 18:59:15 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.