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

Re: How to control where to put .subversion directory

From: Ed <SVN_at_0x1b.com>
Date: Thu, 5 Jan 2012 13:06:14 -0700

On Thu, Jan 5, 2012 at 10:49 AM, Phil <cwstorm_at_gmail.com> wrote:
> Not sure if this is even possible but subversion place the ".subversion"
> directory based on your unix environment variable called $HOME.  Well, on
> one server, we have specifically specify $HOME to a location that could be
> deleted in the future.  If that's the case, then there goes the
> ".subversion" information.  So, can the ".subversion" directory be backed up
> and manually move it somewhere else?  I'm assuming not since the subversion
> program is relying on the $HOME variable.  If that directory every got lost,
> what's the best approach on recovering it so that subversion can still
> function as normal.  Thanks for your inputs.
>
> -Phillip

Keep your .subversion in a safe place and make $HOME/.subversion a
link to it (ln -s) - if $HOME goes away you only loose the link. This
will save your settings, but more importantly your credentials to any
repos you access (proxy settings too).

add this link to the other ones you will need (like .ssh) when you
rebuild your $HOME - on your workstation. There is also a system wide
config file in /etc, but it would apply to all users of the system.
Received on 2012-01-05 21:06:48 CET

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.