changeset 18794:63dc020e8cb7

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.
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 21 Mar 2013 21:07:22 -0700
parents a821ec835223
children 704229c06dcf
files contrib/bash_completion
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)