Fossil SCM

Update command help for mv/rm to better reflect the new functionality.

mistachkin 2015-03-15 03:49 mvAndRmFiles
Commit 7b54a4e839c9b078cf1236a3fa36a4acf2429be6
1 file changed +14 -6
+14 -6
--- src/add.c
+++ src/add.c
@@ -420,13 +420,17 @@
420420
**
421421
** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...?
422422
**
423423
** Remove one or more files or directories from the repository.
424424
**
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.
428432
**
429433
** Options:
430434
** --metadata-only <BOOL> Non-zero to skip removing files from the
431435
** checkout. Supersedes both the --soft and
432436
** --hard options.
@@ -774,13 +778,17 @@
774778
** or: %fossil mv|rename OLDNAME... DIR
775779
**
776780
** Move or rename one or more files or directories within the repository tree.
777781
** You can either rename a file or directory or move it to another subdirectory.
778782
**
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.
782790
**
783791
** Options:
784792
** --metadata-only <BOOL> Non-zero to skip moving files within the
785793
** checkout. Supersedes both the --soft and
786794
** --hard options.
787795
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button