equal
deleted
inserted
replaced
17 ): Unit = { |
17 ): Unit = { |
18 val store = Sessions.store(options) |
18 val store = Sessions.store(options) |
19 |
19 |
20 using(Export.open_session_context0(store, session)) { session_context => |
20 using(Export.open_session_context0(store, session)) { session_context => |
21 session_context.session_db().map(db => store.read_theories(db, session)) match { |
21 session_context.session_db().map(db => store.read_theories(db, session)) match { |
22 case None => error("Missing build database for session " + quote(session)) |
22 case None => store.error_database(session) |
23 case Some(used_theories) => |
23 case Some(used_theories) => |
24 theories.filterNot(used_theories.toSet) match { |
24 theories.filterNot(used_theories.toSet) match { |
25 case Nil => |
25 case Nil => |
26 case bad => error("Unknown theories " + commas_quote(bad)) |
26 case bad => error("Unknown theories " + commas_quote(bad)) |
27 } |
27 } |