equal
deleted
inserted
replaced
108 val already_committed1 = |
108 val already_committed1 = |
109 if (commit.isDefined) { |
109 if (commit.isDefined) { |
110 (already_committed /: dep_theories)({ case (committed, name) => |
110 (already_committed /: dep_theories)({ case (committed, name) => |
111 def parents_committed: Boolean = |
111 def parents_committed: Boolean = |
112 version.nodes(name).header.imports.forall({ case (parent, _) => |
112 version.nodes(name).header.imports.forall({ case (parent, _) => |
113 Sessions.is_pure(parent.theory) || committed.isDefinedAt(parent) |
113 resources.session_base.loaded_theory(parent) || committed.isDefinedAt(parent) |
114 }) |
114 }) |
115 if (!committed.isDefinedAt(name) && parents_committed && |
115 if (!committed.isDefinedAt(name) && parents_committed && |
116 state.node_consolidated(version, name)) |
116 state.node_consolidated(version, name)) |
117 { |
117 { |
118 val snapshot = stable_snapshot(state, version, name) |
118 val snapshot = stable_snapshot(state, version, name) |