help / color / Atom feed
* _subversion is going to need to use 'help -v'
@ 2019-08-31 20:19 Daniel Shahaf
  2019-09-04  2:54 ` Daniel Shahaf
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Shahaf @ 2019-08-31 20:19 UTC (permalink / raw)
  To: zsh-workers; +Cc: Cristiano De Michele

tl;dr: A change made to Subversion (upstream) trunk today affects _subversion.

_subversion completes subcommands based on the output of `svn help`.

Subversion upstream have just made a change whereby subcommands named
x-* will not be shown in `svn help`, but only in `svn help -v`.  The change will
presumably be released in 1.13.0 in October (unless something comes up in
post-commit reviews upstream).

I assume we should, at least, teach _subversion to pass -v if the 'svn'
binary is new enough.  That would let x-* subcommands continue to be
offered. We could try either «svn help -v || svn help» or «if [[ `svn
--version -q` == (2.*|1.<13->.*) ]]; then …; else …; fi».

Upstream is also discussing hiding some options by default, but that
hasn't been implemented yet.

Any volunteers to look into this?



P.S. Speaking of experimental svn features, is anyone using both
shelving and vcs_info?

julianfoad@apache.org wrote on Sat, 31 Aug 2019 06:49 +00:00:
> Author: julianfoad
> Date: Sat Aug 31 06:49:24 2019
> New Revision: 1866188
> URL: http://svn.apache.org/viewvc?rev=1866188&view=rev
> Log:
> Issue #4828, Hide experimental commands and options by default.
> * subversion/libsvn_subr/opt.c
>   (print_command_info3,
>    print_generic_help_body3): Show commands and options starting with
>     'x-' only if new 'with_experimental' option is true.
^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-31 20:19 _subversion is going to need to use 'help -v' Daniel Shahaf
2019-09-04  2:54 ` Daniel Shahaf
2019-10-10 16:29   ` Mikael Magnusson
2019-10-10 16:58     ` [PATCH] _subversion: Fix syntax error in 44726/0001 Daniel Shahaf


Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git