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

Re: Use of svnserve and Dropbox

From: Ben Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Thu, 22 Sep 2011 20:49:35 +0200

On Thu, Sep 22, 2011 at 20:40, David Weintraub <qazwart_at_gmail.com> wrote:
> One of the nice thing about Dropbox is that you can share files
> between various users. I will sometimes keep a Subversion repository
> on Dropbox, so I can access it on various systems. Right now, it's
> just for me to use.
>
> Here's the scenario:
>
> * I have my Dropbox under $HOME/Dropbox.
> * I create a Subversion repository on $HOME/Dropbox/svn_repos
> * I now share my $HOME/Dropbox/svn_repos folder between my colleagues.
>
> What happens if we all start svnserve on that particular shared folder
> in Dropbox? Is there an issue with possible collisions if two or more
> people attempt to commit their changes at the same time?

Dropbox will rename conflicting revisions. Subversion will become very
confused. Your repository will be hosed.

> What if we skip the svnserve route and merely use the file://
> protocol? Is this any safer?

No. This makes no difference. Both will be equally broken.

This is a Bad Idea.

// Ben
Received on 2011-09-22 20:50:09 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.