Fossil SCM
Update command help for mv/rm to better reflect the new functionality.
Commit
7b54a4e839c9b078cf1236a3fa36a4acf2429be6
Parent
be6af3adca26819…
1 file changed
+14
-6
+14
-6
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -420,13 +420,17 @@ | ||
| 420 | 420 | ** |
| 421 | 421 | ** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...? |
| 422 | 422 | ** |
| 423 | 423 | ** Remove one or more files or directories from the repository. |
| 424 | 424 | ** |
| 425 | -** This command does NOT remove the files from disk. It just marks the | |
| 426 | -** files as no longer being part of the project. In other words, future | |
| 427 | -** changes to the named files will not be versioned. | |
| 425 | +** This command does NOT normally remove the files from disk. It just | |
| 426 | +** marks the files as no longer being part of the project. In other | |
| 427 | +** words, future changes to the named files will not be versioned. | |
| 428 | +** | |
| 429 | +** WARNING: If either the "--metadata-only 0" or "--hard" option is | |
| 430 | +** specified -OR- the "remove-files" setting is non-zero, | |
| 431 | +** files WILL BE removed from disk as well. | |
| 428 | 432 | ** |
| 429 | 433 | ** Options: |
| 430 | 434 | ** --metadata-only <BOOL> Non-zero to skip removing files from the |
| 431 | 435 | ** checkout. Supersedes both the --soft and |
| 432 | 436 | ** --hard options. |
| @@ -774,13 +778,17 @@ | ||
| 774 | 778 | ** or: %fossil mv|rename OLDNAME... DIR |
| 775 | 779 | ** |
| 776 | 780 | ** Move or rename one or more files or directories within the repository tree. |
| 777 | 781 | ** You can either rename a file or directory or move it to another subdirectory. |
| 778 | 782 | ** |
| 779 | -** This command does NOT rename or move the files on disk. This command merely | |
| 780 | -** records the fact that filenames have changed so that appropriate notations | |
| 781 | -** can be made at the next commit/check-in. | |
| 783 | +** This command does NOT normally rename or move the files on disk. This | |
| 784 | +** command merely records the fact that filenames have changed so that | |
| 785 | +** appropriate notations can be made at the next commit/check-in. | |
| 786 | +** | |
| 787 | +** WARNING: If either the "--metadata-only 0" or "--hard" option is | |
| 788 | +** specified -OR- the "move-files" setting is non-zero, | |
| 789 | +** files WILL BE renamed or moved on disk as well. | |
| 782 | 790 | ** |
| 783 | 791 | ** Options: |
| 784 | 792 | ** --metadata-only <BOOL> Non-zero to skip moving files within the |
| 785 | 793 | ** checkout. Supersedes both the --soft and |
| 786 | 794 | ** --hard options. |
| 787 | 795 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -420,13 +420,17 @@ | |
| 420 | ** |
| 421 | ** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...? |
| 422 | ** |
| 423 | ** Remove one or more files or directories from the repository. |
| 424 | ** |
| 425 | ** This command does NOT remove the files from disk. It just marks the |
| 426 | ** files as no longer being part of the project. In other words, future |
| 427 | ** changes to the named files will not be versioned. |
| 428 | ** |
| 429 | ** Options: |
| 430 | ** --metadata-only <BOOL> Non-zero to skip removing files from the |
| 431 | ** checkout. Supersedes both the --soft and |
| 432 | ** --hard options. |
| @@ -774,13 +778,17 @@ | |
| 774 | ** or: %fossil mv|rename OLDNAME... DIR |
| 775 | ** |
| 776 | ** Move or rename one or more files or directories within the repository tree. |
| 777 | ** You can either rename a file or directory or move it to another subdirectory. |
| 778 | ** |
| 779 | ** This command does NOT rename or move the files on disk. This command merely |
| 780 | ** records the fact that filenames have changed so that appropriate notations |
| 781 | ** can be made at the next commit/check-in. |
| 782 | ** |
| 783 | ** Options: |
| 784 | ** --metadata-only <BOOL> Non-zero to skip moving files within the |
| 785 | ** checkout. Supersedes both the --soft and |
| 786 | ** --hard options. |
| 787 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -420,13 +420,17 @@ | |
| 420 | ** |
| 421 | ** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...? |
| 422 | ** |
| 423 | ** Remove one or more files or directories from the repository. |
| 424 | ** |
| 425 | ** This command does NOT normally remove the files from disk. It just |
| 426 | ** marks the files as no longer being part of the project. In other |
| 427 | ** words, future changes to the named files will not be versioned. |
| 428 | ** |
| 429 | ** WARNING: If either the "--metadata-only 0" or "--hard" option is |
| 430 | ** specified -OR- the "remove-files" setting is non-zero, |
| 431 | ** files WILL BE removed from disk as well. |
| 432 | ** |
| 433 | ** Options: |
| 434 | ** --metadata-only <BOOL> Non-zero to skip removing files from the |
| 435 | ** checkout. Supersedes both the --soft and |
| 436 | ** --hard options. |
| @@ -774,13 +778,17 @@ | |
| 778 | ** or: %fossil mv|rename OLDNAME... DIR |
| 779 | ** |
| 780 | ** Move or rename one or more files or directories within the repository tree. |
| 781 | ** You can either rename a file or directory or move it to another subdirectory. |
| 782 | ** |
| 783 | ** This command does NOT normally rename or move the files on disk. This |
| 784 | ** command merely records the fact that filenames have changed so that |
| 785 | ** appropriate notations can be made at the next commit/check-in. |
| 786 | ** |
| 787 | ** WARNING: If either the "--metadata-only 0" or "--hard" option is |
| 788 | ** specified -OR- the "move-files" setting is non-zero, |
| 789 | ** files WILL BE renamed or moved on disk as well. |
| 790 | ** |
| 791 | ** Options: |
| 792 | ** --metadata-only <BOOL> Non-zero to skip moving files within the |
| 793 | ** checkout. Supersedes both the --soft and |
| 794 | ** --hard options. |
| 795 |