Bugfix in HGCommand::resolve.
Bytecode-compiled code behaves differently than stc-compiled. Fix ifTrue:
condition so it works under both.
--- a/mercurial/HGCommand.st Sat Jun 22 11:35:41 2013 +0100
+++ b/mercurial/HGCommand.st Wed Jun 26 07:50:47 2013 +0100
@@ -1557,19 +1557,19 @@
stream nextPut:'--tool'; nextPut: tool
].
- mark ifTrue:[
+ mark == true ifTrue:[
self assert: (unmark isNil or:[unmark not]).
stream nextPut: '--mark'.
].
- unmark ifTrue:[
+ unmark == true ifTrue:[
self assert: (mark isNil or:[mark not]).
stream nextPut: '--unmark'.
].
files do:[:f|stream nextPut: f].
- "Modified: / 14-01-2013 / 19:29:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 26-06-2013 / 07:45:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
parseOutput:stream