[bobthefish] One more hg speedup.

Send along the directory where we already found the .hg to throw hg a bone.
pull/2/head
Justin Hileman 10 years ago committed by Bruno Pinto
parent e17a6871b4
commit 2a2532b752

@ -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)

Loading…
Cancel
Save