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

Re: Confusion over when to use server + deleting repositories

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-12-21 11:31:31 CET

nospam@realtimeengineers.com wrote:
> Hello list,
> Stupid new user question.
> I have installed Subversion server (SVN not http) on one machine, call
> it serv1 and TortoiseSVN on my personal machine. Now I have create a
> repository on another machine on the same network, call it serv2.
> Everything works fine and I am very impressed how easy this was.
> Reading the docs it seems that TortoiseSVN can access a repository
> locally using file:/// and when this is done only TortoiseSVN is
> required and there is no requirement to install a server. Does this
> mean that, if my repository is on a networked machine I can map a
> network drive to be a parent of the repository, access the repository
> using file:///, and the server on serv1 is not required at all? I am
> using the native file system format so mapping network drives should not
> be a problem.

Correct, as long as you use the FSFS repository format and not BDB. BDB
will not work reliably on networks shares.

> Basically my question is, on a local network, is the SVN server required
> at all? There will be multiple people accessing the same repository, so
> I was thinking maybe the SVN server handles the mutual exclusion? Can
> TortoiseSVN be used with no SVN server.

Yes it can, but with some limitations. The only access control you have
is with the basic file system access. You need to have filesystem read
and write access in order to even browse the repository, so the only
control you have is 'full commit access' or 'no access at all'. And of
course anyone with those permissions could also delete the repository
accidentally, losing all your history.

If you set up a server process (svn or apache) to access the repo, then
only the server needs those permissions. Everyone else has to go through
the server, so you can allocate different access levels. And you can
prevent direct access to the repository files, so they can't easily be
trashed.

> Second - I cannot find anything in the docs about deleting
> repositories. Can they just be deleted using explorer? I have setup a
> repository as a test and now want to remove it.

Yes, repositories and working copies are both simply folder hierarchies.
Just delete them. If you send to the recycle bin, you may need to empty
the bin before too long. Working copies in particular contain a large
number of small files which can slow down the recycle bin. The
subversion clients (eg. TortoiseSVN) does keep settings in the registry
and in config files, but those are per client, not per repository.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Dec 25 00:27:34 2005

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