contrib/bash_completion
changeset 6232 59200a2de7bf
parent 5507 bb417470d62a
child 8718 3463b28681ee
--- 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"))
 }