contrib/bash_completion
branchstable
changeset 15969 80f3ae36f908
parent 14374 51f444e85734
child 17463 e49771e2d071
--- a/contrib/bash_completion	Sun Jan 22 21:30:09 2012 +0100
+++ b/contrib/bash_completion	Sat Jan 21 00:40:18 2012 +0100
@@ -84,6 +84,7 @@
 {
     local files="$(_hg_cmd status -n$1 .)"
     local IFS=$'\n'
+    compopt -o filenames 2>/dev/null
     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
 }