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

Re: Possible svnsync data loss bug?

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 26 Jun 2012 19:03:12 -0400

On Jun 26, 2012, at 6:43 PM, Ryan Schmidt <subversion-2012a_at_ryandesign.com> wrote:

>
> On Jun 26, 2012, at 12:43, Mark Phippard wrote:
>
>> I cannot speak to all scenarios because I have not tested them. For
>> example, if the svnsync user simply had no read access to anywhere in
>> the repository it seems like it ought to error. But that scenario
>> aside, the way that svnsync works is actually a huge feature. Imagine
>> you have a remote team of contractors that you want to give a local
>> replica of your repository. These contractors are not allowed access
>> to parts of your repository. The contractors can use svnsync to crete
>> a local replica using their credentials and their local repository
>> will only contain the content they are allowed to access. The
>> revisions that altered other paths will simply be empty commits.
>
> What happens if a single commit touches both paths that are allowed and paths that are prohibit by a particular svnsync user? Will the entire commit be ignored or will the parts of it that are in the allowed paths be included and the rest removed?
>

The latter will happen.

Mark
Received on 2012-06-27 01:03:24 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.