equal
deleted
inserted
replaced
72 |
72 |
73 * `confirm(question)`, function asking the user and returning true |
73 * `confirm(question)`, function asking the user and returning true |
74 if the user answers yes, false otherwise (always returns true in |
74 if the user answers yes, false otherwise (always returns true in |
75 non-interactive mode) |
75 non-interactive mode) |
76 |
76 |
77 * the function `_`, it is equivalent to `unicode` allowing to flag the strings |
77 * `_()` is equivalent to `unicode` allowing to flag the strings to |
78 to internationalize in the migration scripts. |
78 internationalize in the migration scripts. |
79 |
79 |
80 In the `repository` scripts, the following identifiers are also defined: |
80 In the `repository` scripts, the following identifiers are also defined: |
81 |
81 |
82 * `checkpoint`, request confirming and executing a "commit" at checking point |
82 * `commit(ask_confirm=True)`, request confirming and executing a "commit" |
83 |
83 |
84 * `schema`, instance schema (readen from the database) |
84 * `schema`, instance schema (readen from the database) |
85 |
85 |
86 * `fsschema`, installed schema on the file system (e.g. schema of |
86 * `fsschema`, installed schema on the file system (e.g. schema of |
87 the updated model and cubicweb) |
87 the updated model and cubicweb) |