Commit 620dbede authored by Justin Hileman's avatar Justin Hileman Committed by Bruno Pinto

[bobthefish] One more hg speedup.

Send along the directory where we already found the .hg to throw hg a bone.
parent b4cd7618
......@@ -108,7 +108,7 @@ function __bobthefish_hg_project_dir -d 'Print the current hg project base direc
set d (pwd)
while not [ $d = / ]
if [ -e $d/.hg ]
command hg root ^/dev/null
command hg root --cwd "$d" ^/dev/null
return
end
set d (dirname $d)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment