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.
--- 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)