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

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

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 04 Dec 2009 10:36:10 -0500

Hyrum K. Wright wrote:
> On Dec 4, 2009, at 6:50 AM, Julian Foad wrote:
>
>> Vincent Legoll wrote:
>>> Hello,
>>>
>>> would such kind of patch be acceptable or is this useless ?
>>>
>>> I think there's nothing preventing svnadmin to accept local file://
>>> URLs as repository location parameter. So why not ?
>> Let me ask a different question: Why? (We don't add features just
>> because we can, we add them because they are useful enough to be worth
>> the maintenance.)
>>
>> I can think of a reason: it could be handy to copying URLs between
>> "svn" and "svnlook" and "svnadmin" commands. Is that your reason? Is
>> there any stronger reason? Would you add it to svnlook as well?
>>
>> 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.
>
> My initial reaction is about consistency. I can't think of any place we
> accept URLs as parameters to svnadmin, and I'm really hesitant to start
> doing so. In the command-line client, when we say "URL" we mean *any*
> well-formed URL, not just those with a specific access method. Changing
> that meaning on any of the command-line tools is inconsistent, and should
> be avoided.

I'm a big fan of consistency. It's good for users. It's good for
developers. It's great for parents. And drummers. I too, oppose this
change, for the reasons Hyrum has so pleasantly stated.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2427081
Please start new threads on the <dev_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <dev-subscribe_at_subversion.apache.org>.

Received on 2009-12-04 16:36:26 CET

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

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