summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-09-15 02:57:51 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-09-15 02:57:51 +0200
commit5484e5d45f878c2f95f421b6468c8b70cf7ffed7 (patch)
tree1ee06e78a3b5f0318a7f0fe9debfc69b8ce6fce0
parent5bcaa3a36d6160af2732410987f29cc550d213f8 (diff)
downloadzsh-5484e5d45f878c2f95f421b6468c8b70cf7ffed7.tar.gz
zsh-5484e5d45f878c2f95f421b6468c8b70cf7ffed7.zip
Cherry-pick decc78c72 from upstream: _svn: Allow hyphens in command name aliases.
-rw-r--r--debian/patches/cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch b/debian/patches/cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch
new file mode 100644
index 000000000..022c6db91
--- /dev/null
+++ b/debian/patches/cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch
@@ -0,0 +1,17 @@
+Origin: commit decc78c72110159bd8a27faf579c020abca6cb0b
+Author: Daniel Shahaf <d.s@daniel.shahaf.name>
+Date: Fri Sep 14 14:25:07 2018 +0000
+Description: _svn: Allow hyphens in command name aliases.
+ Used by svn 1.11.0-rc1.
+
+--- a/Completion/Unix/Command/_subversion
++++ b/Completion/Unix/Command/_subversion
+@@ -34,7 +34,7 @@
+ typeset -gHA _svn_cmds
+ if _cache_invalid svn-cmds || ! _retrieve_cache svn-cmds; then
+ _svn_cmds=(
+- ${=${(f)${${"$(_call_program commands svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z-]##)[[:space:]]#(\([a-z, ?]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:}
++ ${=${(f)${${"$(_call_program commands svn help)"#l#*Available subcommands:}%%Subversion is a tool*}}/(#s)[[:space:]]#(#b)([a-z-]##)[[:space:]]#(\([a-z, ?-]##\))#/$match[1] :$match[1]${match[2]:+:${${match[2]//[(),]}// /:}}:}
+ )
+ if (( $? == 0 )); then
+ _store_cache svn-cmds _svn_cmds
diff --git a/debian/patches/series b/debian/patches/series
index cb6fdacc2..352a26952 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
further-mitigate-test-suite-hangs.patch
update-debian-sections.patch
+cherrypick_decc78c72__svn:_Allow_hyphens_in_command_name_aliases.patch