Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_subversion is going to need to use 'help -v'
- X-seq: zsh-workers 44719
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: _subversion is going to need to use 'help -v'
- Date: Sat, 31 Aug 2019 20:19:45 +0000
- Cc: "Cristiano De Michele" <cristiano.demichele@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:date:from:to:cc :subject:content-type:content-transfer-encoding; s=fm1; bh=X/y5W 6zZ1Lb8F6mf3tv9BdyjJ0L5JJN63eD+KFUPNB4=; b=gyqdj1dSY8GiY1GMcuKIf U3DXOlNlwPulQoheOQG8SNP39rd4Cj69MkFc25Zx+QgBAJvGhfNcqHaQAjY+djLk 8c7B4iwY2Wc9uRoN5Q7V09r8iuAveZ45WGNVPoGfoe/tEe+iD6G0zWLqvdt5D+Wg mqilfkadD0bRWoZzp2Vz8ApbCbY4IaPz/qvUeO921AY1wrEMKgsFGU4ixebzFcR8 g2RIPehwbWBqfD3Z/FiutDWZE4P8BpBLSOID38BBdvSEsIsHEYwcPvm7UESG0TgV KXycWCXt7ffyD498aEv/UUrTl+pbEyNx21bnlcJYGGzw2vi3OeUVT56TEBof2NWE A==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=X/y5W6 zZ1Lb8F6mf3tv9BdyjJ0L5JJN63eD+KFUPNB4=; b=mZ0VFDDxCKsKnHMJoPQx5o xMoOM8FbJKWZ7DIsgFXlXJvqk5emy3uQXLTTUYijjSQ+Mkyvw82QUea/otH5drLH kFI4j/nb6O4ugVWH44LWjVmmJikKRqj65ODQf7XY0/p4dkc6PGXZTJLdLCBV1F3s AKozZC6jpIiJ3ILn8W54jXhCuRH9Cf7oT+TEqH7+s2wCZOj1LLkiBMFaGhqPNzxK iCXfq/iJD+xyMnLSxDQ9xEnzO8Avwi8MEMGt9JF0uKt7vYyNbSBpWU2q4zGb2NsZ pStyzCcECZ8fFHnp7MqwBoyN1O72HfGzzuJdA0OlcWfi0OQ4QXaGfaS8gsnKLEOQ ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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?
Cheers,
Daniel
P.S. Speaking of experimental svn features, is anyone using both
shelving and vcs_info?
julianfoad@xxxxxxxxxx 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.
…
Messages sorted by:
Reverse Date,
Date,
Thread,
Author