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

Re: svn commit: rev 1329 - trunk/subversion/svnadmin trunk/subversion/tests/clients/cmdline

From: Daniel Berlin <dan_at_dberlin.org>
Date: 2002-02-20 13:55:52 CET

On Tue, 19 Feb 2002, Blair Zajac wrote:

> cmpilato@collab.net wrote:
> > > > - " lstxns REPOS_PATH\n"
> > > > - " Print all txns and their trees.\n"
> > > > + " lstxns REPOS_PATH [long]\n"
> > > > + " Print all txn names and, if \"long\" is specified, their\n"
> > > > + " metadata and trees.\n"
> > >
> > > Shouldn't we have that as a --long option instead? It's odd to have a
> > > command modifier after the target of the command.
> >
> > Nah. Svnadmin currently has no actual option parsing. I'd hate to
> > add that code for this one little case.
>
> I don't like going down this road though, as its not clean and may lead to
> futher command line option oddities.
>
> Here's a small hack for this. It's not a full blown command line parser,
> but we can add later.
Okay, I must be missing something.

Why can we be using apr_getopt_long here?
It looks like it would take about 10 minutes.

>
> Best,
> Blair
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

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.