From: Tuukka Lehtonen Date: Thu, 4 May 2017 21:52:29 +0000 (+0300) Subject: Fixed bad logical bug from Acorn's MainState.load rollback X-Git-Tag: v1.28.0~11 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=76f924bb5326ec040e8a7d371dc44d06576f2465;hp=76f924bb5326ec040e8a7d371dc44d06576f2465;p=simantics%2Fplatform.git Fixed bad logical bug from Acorn's MainState.load rollback The major bug was the logical not in MainState.load rollback which caused the database revisioning to be started from 0 when the database was *not* empty. It should have been the other way around. Also cleaned up the database head.state validation code by not using exceptions for flow control in validating head.state files. refs #7124 Change-Id: I7cd57fa73d39a637c71159df63566aed5063fc40 (cherry picked from commit d5ca4ed76bc83af27f2ade59ce49e35750aa4177) ---