changeset 9840:18d5935c0c62

Add missing bash_completion for qfinish
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 12 Nov 2009 12:46:00 +0100
parents 0a3fc37261ab
children 7cd6dee6fe37
files contrib/bash_completion
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/bash_completion	Thu Nov 12 13:43:36 2009 +0100
+++ b/contrib/bash_completion	Thu Nov 12 12:46:00 2009 +0100
@@ -355,6 +355,14 @@
     _hg_ext_mq_patchlist $qcmd
 }
 
+_hg_cmd_qfinish()
+{
+    if [[ "$prev" = @(-a|--applied) ]]; then
+	return
+    fi
+    _hg_ext_mq_patchlist qapplied
+}
+
 _hg_cmd_qsave()
 {
     if [[ "$prev" = @(-n|--name) ]]; then