bash_completion: add rebase rev completion
authorKevin Bullock <kbullock@ringworld.org>
Fri, 31 Aug 2012 13:17:16 -0500
changeset 17463 e49771e2d071
parent 17460 a306837f8c87
child 17464 eddfb9a550d0
bash_completion: add rebase rev completion
contrib/bash_completion
--- a/contrib/bash_completion	Mon Aug 27 09:37:49 2012 -0700
+++ b/contrib/bash_completion	Fri Aug 31 13:17:16 2012 -0500
@@ -386,6 +386,13 @@
     fi
 }
 
+_hg_cmd_rebase() {
+   if [[ "$prev" = @(-s|--source|-d|--dest|-b|--base|-r|--rev) ]]; then
+       _hg_labels
+       return
+   fi
+}
+
 _hg_cmd_strip()
 {
     _hg_labels