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

Re: Repo browser: URL always starts "file://" not "svn://"

From: Kurt Pruenner <leak_at_gmx.at>
Date: Mon, 27 Oct 2008 13:55:31 +0100

Steve-ukda wrote:
> I read somewhere that it is recommended to use the svn:// protocol instead
> of file:// for multiple users to access a central repository. Maybe I am
> misunderstanding something in that, or maybe it was an incorrect
> recommendation. Does anyone have any advice on this?

No, that recommendation is perfectly fine. A file:// URL should only be
used in a single-user situation with a repository on a local drive (i.e.
not on a server) anyway...

If you go to your working copy and bring up the repo browser it will
default to the URL you used to check out your working copy in the first
place; that's also the URL (and communication method) that will be used
for all other operations you do.

So if you checked out a file:// URL (which can be checked by bringing up
the Explorer's properties dialog for the WC folder and switching to the
Subversion tab) you should either throw your working copy away and do
another checkout with the corresponding svn:// URL or use the relocate
command from the context menu to change the file:// to a svn:// URL -
but make sure it's the exact same location in the exact same repository
or Bad Things(TM) may happen...

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-27 13:55:47 CET

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