Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Style and comment fixes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | mvAndRmFiles |
| Files: | files | file ages | folders |
| SHA1: |
99c57b3eb3f21a061c3c0e41454c9c2f |
| User & Date: | mistachkin 2015-04-09 23:21:19.305 |
Context
|
2015-04-10
| ||
| 00:02 | Add comments and simplify use of temporary tables. ... (check-in: 90ee7bcb76 user: mistachkin tags: mvAndRmFiles) | |
|
2015-04-09
| ||
| 23:21 | Style and comment fixes. ... (check-in: 99c57b3eb3 user: mistachkin tags: mvAndRmFiles) | |
| 02:19 | Merge updates from trunk. ... (check-in: 0060d07ddf user: mistachkin tags: mvAndRmFiles) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
461 462 463 464 465 466 467 | capture_metadata_only_option(); /* We should be done with options.. */ verify_all_options(); db_must_be_within_tree(); db_begin_transaction(); | | | 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 |
capture_metadata_only_option();
/* We should be done with options.. */
verify_all_options();
db_must_be_within_tree();
db_begin_transaction();
if( g.argv[1][0]=='f' ){ /* i.e. "forget" */
removeFiles = 0;
}else if( zMetadataOnly ){
removeFiles = is_false(zMetadataOnly);
}else{
#if FOSSIL_ENABLE_LEGACY_MV_RM
removeFiles = db_get_boolean("remove-files",0);
#else
|
| ︙ | ︙ | |||
838 839 840 841 842 843 844 |
fossil_fatal("no checkout rename files in");
}
if( g.argc<4 ){
usage("OLDNAME NEWNAME");
}
zDest = g.argv[g.argc-1];
db_begin_transaction();
| | | 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 |
fossil_fatal("no checkout rename files in");
}
if( g.argc<4 ){
usage("OLDNAME NEWNAME");
}
zDest = g.argv[g.argc-1];
db_begin_transaction();
if( g.argv[1][0]=='r' ){ /* i.e. "rename" */
moveFiles = 0;
}else if( zMetadataOnly ){
moveFiles = is_false(zMetadataOnly);
}else{
#if FOSSIL_ENABLE_LEGACY_MV_RM
moveFiles = db_get_boolean("move-files",0);
#else
|
| ︙ | ︙ |