I'm trying to convert mercurial repository into git using hg-fast-export but getting following error when I'm trying to run
path/to/hg-fast-export.sh -r path/to/mercurial-repository
error:
The system cannot execute the specified program.

I have already added path for git, mercurial, hg in environment variable.