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

Re: SVN best practice: organising the SVN vault and organising your project

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2007-04-13 13:21:02 CEST


TM schrieb:
> Having said that, I have recently organised a VPN so I can now remotely
> access my work files. I might try to setup a svnserver on my PC and
> tunnel the remote access through the VPN.

This sound much better than your first version. In order to be
to work even with a broken VPN connection you can use svnsync in order
to mirror the official Subversion repository. But unfortunately this
is only a one-way mirror; even worse the mirror can't be synchronized
again if somebody has committed on it. Therefore (for a certain project
which is hosted on a customer's site) I have created a special svnsync
user account who is the only one allowed to commit. When I try to commit
from my normal account I get an error.

In order to commit to my customer's Subversion server I set the UUID of
both repositories to the same value. So I am able to use "svn switch
--relocate" when I need write access to the main repository.

An even better solution which I have also introduced in this project is
the usage of SVK which is a kind of "meta Subversion". The SVK local
copies of the SVN repository can be merged back to the main repository
even if there has been committed something in the meantime.
Unfortunately the revision numbers don't match between SVN and SVK so
one has to be carefull when comparing them between different machines
or user accounts.

Unfortunately SVK is still quite alpha or beta quality when using the
newly introduced "view" feature. Without using views it can be used
for production purposes.

With best regards
Andreas Schweigstill

Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 13 13:23:44 2007

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