bash_completion: support GNU sed 3 and non-GNU sed
replaced command 'Q' introduced in GNU sed 4, in order to support
platforms with older sed.
--- a/contrib/bash_completion Thu Aug 18 21:35:36 2005 +0100
+++ b/contrib/bash_completion Fri Aug 19 06:04:46 2005 +0100
@@ -1,7 +1,7 @@
_hg_commands()
{
local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \
- -e '/^global options:/Q' \
+ -e '/^global options:/,$d' \
-e '/^ [^ ]/!d; s/[,:]//g;')"
# hide debug commands from users, but complete them if