--- a/mercurial/HGCommand.st Sat Nov 17 11:02:01 2012 +0000
+++ b/mercurial/HGCommand.st Sat Nov 17 19:40:19 2012 +0000
@@ -361,13 +361,10 @@
"/ h notNil ifTrue:[HGExecutable := h valueNamed:''].
"/ HGExecutable notEmptyOrNil ifTrue:[^HGExecutable]
HGExecutable := OperatingSystem pathOfCommand:'hg'.
- ^HGExecutable
- ].
-
+ ] ifFalse:[
OperatingSystem isUNIXlike ifTrue:[
HGExecutable := OperatingSystem pathOfCommand:'hg'.
- ^HGExecutable
- ].
+ ]].
self error:'''hg'' executable not found!!'.
@@ -380,7 +377,7 @@
"Created: / 11-05-2011 / 07:59:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 09-12-2011 / 22:48:33 / dundee"
"Modified (format): / 27-12-2011 / 15:51:06 / dundee"
- "Modified: / 17-10-2012 / 13:11:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 17-11-2012 / 11:37:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
parse: stream