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

Re: Confusing syntax

From: Scott Lamb <slamb_at_slamb.org>
Date: 2002-08-15 01:33:22 CEST

Karl Fogel wrote:
> Scott Lamb <slamb@slamb.org> writes:
>
>>I was just confused by a couple syntax things:
>>
>>1. svnadmin SUBCOMMAND REPOS_PATH
>> vs.
>> svnlook REPOS_PATH [COMMAND]
>>
>> Why are these opposite?
>
>
> This I think is just bad planning. There may be some deeper reason,
> but I can't think of it off the top of my head.

If I patched svnlook+docs to be "svnlook COMMAND REPOS_PATH" instead
(mandatory command instead of default info), would there be a chance
it'd be accepted at this point? I think it's worth changing and better
to change it now than post-1.0. And I think it's better to change
svnlook than svnadmin because:

- svnadmin is probably used much more often, so it'd be less of a shock.
- IMHO, command repos makes more sense than the other way around.
- This way is more consistent with svn also:
   svn COMMAND [TARGETS]

It would mean everyone would have to recopy their commit-email.pl script
and probably change other hook scripts.

-- 
Scott Lamb
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 15 01:33:55 2002

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.