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

[TSVN] Re: [repost] TortoiseSVN and file:// URLs?

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2005-01-18 18:34:21 CET

SteveKing wrote:
>> I seem to recall that there's an implicit drive letter in there? And
>> that if you want to specify the drive letter, you have to use a
>> vertical bar instead of the :?
>
> Not that I know of. To specify a drive letter, you don't have to do
> something really special:
>
> file:///C:/myrepos/myproject/myfiles
> (as an example).

The only case that is really odd is if you access the repository on a
network share using UNC file paths. If your repos is on //server/repos
and you want to use file:/// access then the URL is:

file:///\server/repos

or if you are good at counting slashes, TSVN also accepts:

file://///server/repos

<don't sue me warning>
Don't try this with a BDB repository; it will break the file locking
mechanism and cause corruption.
</don't sue me warning>

BTW. Using file:// doesn't work on the CLI either. It has always needed
a triple slash AFAIK.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 18 18:34:19 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.