Fixed bash completion for filenames containing spaces.
--- a/contrib/bash_completion Tue Mar 11 23:59:43 2008 +0100
+++ b/contrib/bash_completion Tue Mar 11 23:54:03 2008 +0100
@@ -78,6 +78,7 @@
_hg_status()
{
local files="$("$hg" status -n$1 . 2>/dev/null)"
+ local IFS=$'\n'
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
}