author | vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177 |
Sat, 17 Nov 2012 19:52:05 +0000 | |
changeset 78 | 32cb772c3ed5 |
parent 77 | b6070a017acd |
child 79 | 38fa7d1f1ef8 |
--- a/mercurial/HGCommand.st Sat Nov 17 19:40:19 2012 +0000 +++ b/mercurial/HGCommand.st Sat Nov 17 19:52:05 2012 +0000 @@ -366,7 +366,10 @@ HGExecutable := OperatingSystem pathOfCommand:'hg'. ]]. - self error:'''hg'' executable not found!!'. + HGExecutable isNil ifTrue:[ + self error:'''hg'' executable not found!!'. + ]. + ^ HGExecutable "