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

"C. Michael Pilato" <[email protected]> Fri, 04 Dec 2009 10:36:10 -0500
Newsgroups gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
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 <[email protected]>
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 <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksZLGoACgkQokEGqRcG/W6SEgCgwEPdcaYsZkAmfJcOmjezfkvJ
ZNMAoMnJOtISSIRs3PNDKW1LFt3MT9nV
=p5FG
-----END PGP SIGNATURE-----