Support qgoto in contrib/bash_completion.
authorPeter Arrenbrecht <peter.arrenbrecht@gmail.com>
Mon, 05 Nov 2007 08:41:22 +0100
changeset 5507 bb417470d62a
parent 5506 be20a42f27a1
child 5508 2dd399d8a992
Support qgoto in contrib/bash_completion.
contrib/bash_completion
--- a/contrib/bash_completion	Sat Nov 03 21:50:11 2007 +0100
+++ b/contrib/bash_completion	Mon Nov 05 08:41:22 2007 +0100
@@ -305,6 +305,15 @@
     _hg_ext_mq_patchlist qunapplied
 }
 
+_hg_cmd_qgoto()
+{
+    if [[ "$prev" = @(-n|--name) ]]; then
+	_hg_ext_mq_queues
+	return
+    fi
+    _hg_ext_mq_patchlist qseries
+}
+
 _hg_cmd_qdelete()
 {
     local qcmd=qunapplied