# HG changeset patch # User Kevin Bullock # Date 1346437036 18000 # Node ID e49771e2d0718403becdcb00dad266d64e25ba90 # Parent a306837f8c87f0737a44ab5f6d2a1098b3a14f00 bash_completion: add rebase rev completion diff -r a306837f8c87 -r e49771e2d071 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