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

Re: Can my entire home directory become a subversion working copy?

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 11 Oct 2009 07:56:05 -0500

On Oct 11, 2009, at 06:53, Carsten Koch wrote:

> I am wondering if it would be possible to make my entire home
> directory
> a subversion working copy.

This is probably not a good idea.

Subversion assumes you will only delete files using "svn delete" and
tell it about every file you add with "svn add". This is probably not
practical for everything in your home directory. Subversion does not
provide a way to "detect" adds and deletes; there's a FAQ entry to
that effect. If you wanted to detect this, you'd have to write a script.

Subversion assumes working copies are disposable. If your working copy
gets corrupted, and some day it might, it is assumed you can delete it
and check out a new one from the repository with minimal fuss. But to
do so in this case you would be deleting your home directory, which
will probably cause quite a bit of fuss.

Subversion isn't a backup tool. It's a revision control system. It may
work to back up some simple things, but I recommend more traditional
backup software that's actually designed for that task.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406356

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-11 14:57:02 CEST

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