equal
deleted
inserted
replaced
1041 from yams.diff import schema_diff |
1041 from yams.diff import schema_diff |
1042 from cubicweb import repoapi |
1042 from cubicweb import repoapi |
1043 appid = args.pop(0) |
1043 appid = args.pop(0) |
1044 diff_tool = args.pop(0) |
1044 diff_tool = args.pop(0) |
1045 config = ServerConfiguration.config_for(appid) |
1045 config = ServerConfiguration.config_for(appid) |
|
1046 config.repairing = True |
1046 repo = repoapi.get_repository(config=config) |
1047 repo = repoapi.get_repository(config=config) |
1047 fsschema = config.load_schema(expand_cubes=True) |
1048 fsschema = config.load_schema(expand_cubes=True) |
1048 schema_diff(fsschema, repo.schema, permissionshandler, diff_tool, ignore=('eid',)) |
1049 schema_diff(fsschema, repo.schema, permissionshandler, diff_tool, ignore=('eid',)) |
1049 |
1050 |
1050 |
1051 |