# HG changeset patch # User Bryan O'Sullivan # Date 1363925242 25200 # Node ID 63dc020e8cb78f604704635cde0ede1ab7f07cac # Parent a821ec835223492b9605e4804abfaaec8700cbb3 bash_completion: recognize normal command abbreviations In many common cases, this eliminates a call to "hg help" to get a complete command name, thus improving responsiveness. diff -r a821ec835223 -r 63dc020e8cb7 contrib/bash_completion --- a/contrib/bash_completion Thu Mar 21 16:31:29 2013 -0700 +++ b/contrib/bash_completion Thu Mar 21 21:07:22 2013 -0700 @@ -229,7 +229,7 @@ fi _hg_labels ;; - manifest|update) + manifest|update|up|checkout|co) _hg_labels ;; pull|push|outgoing|incoming) @@ -245,10 +245,10 @@ merge) _hg_labels ;; - commit|record) + commit|ci|record) _hg_status "mar" ;; - remove) + remove|rm) _hg_debugpathcomplete -n ;; forget)