You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2020/02/28 22:09:37 UTC

Re: svn commit: r1874631 - in /subversion/branches/decouple-shelving-cli/subversion/svn: cl.h shelf-cmd.c shelf-cmd.h svn.c

Good morning Julian,

julianfoad@apache.org wrote on Fri, 28 Feb 2020 21:09 -0000:
> Initialize the 'svn x-shelf-*' commands programmatically at run time,
> instead of hard-coding them in svn's main command table.
> 
> A step towards decoupling the experimental shelving CLI from the main CLI.

Not sure what the grand plan here, but as a request: Could we continue
to have a programmatic way to get all subcommands, --options, etc, that
exist and are enabled?  That exists currently («svn help -v» and «svn
help $subcommand») and it's a _de facto_ API — there are scripts out
there that rely on it — so it'd be nice to keep that functionality
available, under some name or another.

Cheers,

Daniel

Re: svn commit: r1874631 - in /subversion/branches/decouple-shelving-cli/subversion/svn: cl.h shelf-cmd.c shelf-cmd.h svn.c

Posted by Julian Foad <ju...@apache.org>.
Daniel Shahaf wrote:
> Not sure what the grand plan here, but as a request: Could we continue
> to have a programmatic way to get all subcommands, --options, etc, that
> exist and are enabled?  That exists currently («svn help -v» and «svn
> help $subcommand»)

Yes.  I'm not changing that.

- Julian