132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
+
|
manifest_clear(&m);
}
/*
** COMMAND: checkout
**
** Usage: %fossil checkout VERSION ?-f|--force?
**
** Check out a version specified on the command-line. This command
** will not overwrite edited files in the current checkout unless
** the --force option appears on the command-line.
**
** See also the "update" command.
*/
void checkout_cmd(void){
|
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
+
|
db_end_transaction(0);
}
/*
** COMMAND: close
**
** Usage: %fossil close ?-f|--force?
**
** The opposite of "open". Close the current database connection.
** Require a -f or --force flag if there are unsaved changed in the
** current check-out.
*/
void close_cmd(void){
int forceFlag = find_option("force","f",0)!=0;
db_must_be_within_tree();
|