diff contrib/bash_completion @ 17463:e49771e2d071

bash_completion: add rebase rev completion
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 31 Aug 2012 13:17:16 -0500
parents 80f3ae36f908
children 69e4787b6867
line wrap: on
line diff
--- 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