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

[TSVN] Re: UNC path

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-10-06 10:01:07 CEST

"Doug Currie" wrote
> Over on the svn mailing list we determined that svn command line tools
> "support" the syntax
> file:///\server/share/repos
> for accessing repositories on Windows shares. Other uglier URIs that
> seem to work include
> file:///%5cserver/share/repos
> file:///%2f%3F/UNC/server/share/repos

Yes, it was me who asked the question on the SVN list because I tried the
same thing in repo-browser. Those methods do work in SVN client, but they
are a hack to get around the fact that URI parsing got broken in the SVN 1.1
release.

> However, in TortiseSVN, the UNC URIs above don't work. In the simpler
> cases, the '\' is converted to '/' and svn throws it away and tries to
> access the local drive. In the '?' case, TortiseSVN gets kinda
> bonkers, e.g., in the Repo Browser window.
>

For some reason, TSVN suffers more than the SVN client. It looks as if the
URI is passed to SVN, 'cleaned up' (ie munged by SVN), and then the
cleaned-up version sent on to the next stage.

Stefan, is there any way for TSVN to work around the SVN problem until they
get it fixed?

> Are there any known work arounds for accessing repositories with UNC
> names?

On a Windows PC you can use drive mapping, which still works:
if S: == //Server/share then you can use file:///S:/repos

> Are there any plans to add UNC repo naming as a new feature?

It's an existing feature that just needs fixing in SVN. Petition the SVN
list to get it fixed soon ;-)

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 6 11:30:15 2004

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.