Re: [PATCH][RFC] allow local file:// URLs for svnadmin

Philip Martin <[email protected]> Fri, 04 Dec 2009 15:51:46 +0000
Newsgroups gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel
Message-ID <[email protected]>
Julian Foad <[email protected]> writes:

> Vincent Legoll wrote:
>> I think there's nothing preventing svnadmin to accept local
>> file:// URLs as repository location parameter. So why not ?

I think it's a bad idea because svnadmin doesn't use the RA layer.
Adding this will create the false expectation that all RA protocols
should work.

> If you want to do this, remember that converting a URL to a local path
> is not as simple as stripping off a prefix: there are at least two
> different prefixes (file://localhost as well), and you have to un-escape
> the URL escaping.

The client allows one to use file://localhost:port as well (although
that might be a bug).

-- 
Philip

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2427085

Please start new threads on the <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.