changeset 5507:bb417470d62a

Support qgoto in contrib/bash_completion.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 05 Nov 2007 08:41:22 +0100
parents be20a42f27a1
children 2dd399d8a992
files contrib/bash_completion
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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