Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | typo |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | nop |
| Files: | files | file ages | folders |
| SHA1: |
cb14ab18092fa875f58ed287cbe96338 |
| User & Date: | bharder 2010-09-22 03:03:16.000 |
Context
|
2010-09-22
| ||
| 05:42 | schema change to support "nop". Repos will need to be rebuilt to use this functionality. ... (Closed-Leaf check-in: efc9e1c3b4 user: bharder tags: nop) | |
| 03:03 | typo ... (check-in: cb14ab1809 user: bharder tags: nop) | |
| 02:58 | start of "nop" no-operation command ... (check-in: 46ea03734f user: bharder tags: nop) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
266 267 268 269 270 271 272 |
Blob pathname;
file_tree_name(zName, &pathname, 1);
zPath = blob_str(&pathname);
if( !db_exists(
"SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zPath) ){
fossil_fatal("not in the repository: %s", zName);
}else{
| | | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
Blob pathname;
file_tree_name(zName, &pathname, 1);
zPath = blob_str(&pathname);
if( !db_exists(
"SELECT 1 FROM vfile WHERE pathname=%Q AND NOT deleted", zPath) ){
fossil_fatal("not in the repository: %s", zName);
}else{
db_multi_exec("UPDATE vfile SET deleted=0, chnged=0 WHERE pathname=%Q", zPath);
printf("NOP %s\n", zPath);
}
blob_reset(&pathname);
}
free(zName);
}
db_end_transaction(0);
|
| ︙ | ︙ |