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

Re: [PATCH] Don't remove empty directories when creating repositories (in some cases)

From: Branko Čibej <brane_at_wandisco.com>
Date: Tue, 31 Mar 2015 00:11:33 +0200

On 30.03.2015 15:35, Sergey Raevskiy wrote:
> Hi!
>
> I've noticed inconsistency in svn_repos_create() behavior. Despite the fact
> that creation of repositories over empty directories is allowed, in some cases
> this function will remove an empty directory that existed before repository
> creation.

Wouldn't it be easier, and a smaller patch, to add a check in
svn_repos_create that the FS type is valid /before/ creating the
repository structure? This would also avoid adding yet another public API.

-- Brane
Received on 2015-03-31 00:13:36 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.