Add missing bash_completion for qfinish
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 12 Nov 2009 12:46:00 +0100
changeset 9840 18d5935c0c62
parent 9839 0a3fc37261ab
child 9841 7cd6dee6fe37
Add missing bash_completion for qfinish
contrib/bash_completion
--- 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