diff contrib/bash_completion @ 14332:a2f0f61a6988

bash_completion: Use "hg paths -q" instead of piping through sed
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 16 May 2011 11:52:28 +0200
parents 8aea95ec128f
children 51f444e85734
line wrap: on
line diff
--- a/contrib/bash_completion	Mon May 16 11:41:48 2011 +0200
+++ b/contrib/bash_completion	Mon May 16 11:52:28 2011 +0200
@@ -68,7 +68,7 @@
 
 _hg_paths()
 {
-    local paths="$(_hg_cmd paths | sed -e 's/ = .*$//')"
+    local paths="$(_hg_cmd paths -q)"
     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$paths' -- "$cur"))
 }