changeset 17463:e49771e2d071

bash_completion: add rebase rev completion
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 31 Aug 2012 13:17:16 -0500
parents a306837f8c87
children eddfb9a550d0
files contrib/bash_completion
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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