Differences From Artifact [b6e7722f77]:
- File src/import.c — part of check-in [84f697e570] at 2020-08-09 13:49:47 on branch trunk — Revise and simplify the list of 1st-tier commands that are shown by the "fossil help" command. (user: drh size: 63242) [more...]
To Artifact [d0af879c0c]:
- File src/import.c — part of check-in [06d3789a2a] at 2020-08-18 13:17:56 on branch sec2020 — More missing db_unprotect() calls. (user: drh size: 63271) [more...]
| ︙ | |||
1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 | 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 | + |
}
if( !incrFlag ){
if( forceFlag ) file_delete(g.argv[2]);
db_create_repository(g.argv[2]);
}
db_open_repository(g.argv[2]);
db_open_config(0, 0);
db_unprotect(PROTECT_ALL);
db_begin_transaction();
if( !incrFlag ){
db_initial_setup(0, 0, zDefaultUser);
db_set("main-branch", gimport.zTrunkName, 0);
}
|
| ︙ |