From 35e80f207ee24aa00e5e47b894eb46d7f62541bf Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Tue, 2 Jun 2009 18:13:05 +0000 Subject: Colin Watson: 27027: completion for bzr switch. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_bzr | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 305c236b5..a85417573 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-02 Clint Adams + + * Colin Watson: 27027: Completion/Unix/Command/_bzr: + completion for bzr switch. + 2009-06-02 Peter Stephenson * Akinori MUSHA: private communication: @@ -11812,5 +11817,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4708 $ +* $Revision: 1.4709 $ ***************************************************** diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr index 70c9bcdf9..a757a1059 100644 --- a/Completion/Unix/Command/_bzr +++ b/Completion/Unix/Command/_bzr @@ -331,6 +331,16 @@ case $cmd in ) ;; +(switch) + args+=( + '--force[Switch even if local commits will be lost]' + '(-q --quiet -v --verbose)'{--quiet,-q}'[be quiet]' + '(-v --verbose -q --quiet)'{--verbose,-v}'[display more information]' + '*:local repository:_files -/' + ) + _bzr_completeParents + ;; + (help) args=( '(-l --long)'{--long,-l}'[use long format]' -- cgit 1.4.1