Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] bzr completion: 'shelve' command
- X-seq: zsh-workers 33728
- From: Sebastien Alaiwan <sebastien.alaiwan@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] bzr completion: 'shelve' command
- Date: Thu, 20 Nov 2014 21:38:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=UKJVYXGt/fmXoFU9OtiZu8/Y0rZvSyd/GQPAf+8fn7k=; b=ARlYczlgflTLVoeOou4aZUo6mj8DqGCRgVj3jGk54rhlrN731PF7zgUHmfjYwHZOJ2 ENYrAILmshbhEq3BPxT1iIXXnFhN3MPmfUoQ+/wsS15lLJXYlu/HUnedO1S8X9B8ghh8 y3buYP1ATkh2rDqV93kRneN27gRDPKxx9BWP4SqGxVgaik3Kxbo56ck3sWOpvIVpJUqx 97q/xJ7mCKhIQwxTYKwyn+q2krknO4thtI0u4ds33hd0ow+bTsLm3YigtwzVMt6pDHdA bWIQmSvZWtd2zuRFoWh7Mc5eMV4hjMCCa/IVI+0aNL0QTQ+6Wy3F0xlRUAfvCqbqgRE4 JN6w==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi,
here's a patch adding completion support for the 'shelve' subcommand of bzr.
Cheers!
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
index 4a4e5ab..28ebd14 100644
--- a/Completion/Unix/Command/_bzr
+++ b/Completion/Unix/Command/_bzr
@@ -222,6 +222,17 @@ case $cmd in
)
;;
+(shelve)
+ args+=(
+ '--destroy[Destroy removed changes instead of shelving them]'
+ '(-m --message)'{--message=,-m}'[shelve message]:message text:'
+ '--all[shelve all changes]'
+ '(-q --quiet)'{--quiet,-q}'[be quiet]'
+ '(-v --verbose)'{--verbose,-v}'[display more information]'
+ '*:modified files:_bzr_modifiedFiles'
+ )
+ ;;
+
(bind|break-lock|reconcile)
_bzr_completeParents && ret=0
;;
Attachment:
signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author