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

Re: [RFC] 'basic/additional command set' - adding svn subcommands without destroying our learning curve

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-11-03 03:04:20 CET

Max Bowsher wrote:
> The need to keep our basic command set small, to avoid svn becoming
> daunting to new users, and making the learning curve intolerably
> steep, is not a new issue.
>
> I agree with it, but taken alone, it stops us adding useful utility
> subcommands - the sort of thing I am thinking of:
> svn purge: Remove unversioned files from a WC
> svn sync: 'svn add' all unversioned files, 'svn rm' all missing files
>
> These are minor issues - implementable as scripts easily enough - but
> despite being periodically requested, we've held off implementing them
> for the reason mentioned above.
If we decide to go with this idea, then I suggest we have *one* utility
command. To illustrate, your examples above would become:

    svn util purge
    svn util sync

Yes, this means have to make our command-line parsing slightly smarter,
but that's just for the one command. The nice thing is that you don't
need another --help option; "svn --help" will list all the current
commands, including "util". Then,

    svn help util (or svn --help util, they're equivalent)

will list the util subcommands, and

    svn util help foo (or svn --help util foo, equivalent again)

will describe the utility subcommand.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 3 03:03:07 2005

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.