SourceTree has generally worked great for me, but recently, when I try to commit using mercurial to a local repo, I get this error:
java.io.IOException: Cannot run program "hg": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
at scala.sys.process.ProcessBuilderImpl$Simple.run(ProcessBuilderImpl.scala:68)
...
Hi Thom,
Your SourceTree is having difficult to locate the hg driver program, responsible to the mercurial integration.
I would recommend you to try to install the latest SourceTree version (for Mac OS X is 2.0.0):
Could you please try it and return here to say if it works or not?
Kind Regards,
Henrique Lechner
Upgrading to 2.0.1 didn't fix this, but uninstalling and re-installing (version 2) did. I'll just hope it was a one-time error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oops. Apparently it didn't fix it. Still getting the error, especially when using fetch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is on OS X 10.9.4, SourceTree version 1.9.8. (Sorry, just realized there's now a Windows version.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.