Fossil

Check-in [27702f3c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update and improve command help for 'mv', 'rm', et al.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mvAndRmFiles
Files: files | file ages | folders
SHA1: 27702f3cc97a1076e5bbb9608f724da767772dd2
User & Date: mistachkin 2015-03-23 01:50:56
Context
2015-04-03
03:13
Merge updates from trunk. check-in: bc313086 user: mistachkin tags: mvAndRmFiles
2015-03-23
01:50
Update and improve command help for 'mv', 'rm', et al. check-in: 27702f3c user: mistachkin tags: mvAndRmFiles
01:29
Merge updates from trunk. check-in: 78829b70 user: mistachkin tags: mvAndRmFiles
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/add.c.

419
420
421
422
423
424
425
426
427
428






429
430
431
432

433
434
435
436
437
438
439
...
778
779
780
781
782
783
784
785
786
787






788
789
790
791

792
793
794
795
796
797
798
** COMMAND: delete
** COMMAND: forget*
**
** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...?
**
** Remove one or more files or directories from the repository.
**
** This command does NOT normally remove the files from disk.  It just
** marks the files as no longer being part of the project.  In other
** words, future changes to the named files will not be versioned.






**
** WARNING: If either the "--metadata-only 0" or "--hard" option is
**          specified -OR- the "remove-files" setting is non-zero,
**          files WILL BE removed from disk as well.

**
** Options:
**   --metadata-only <BOOL>  Non-zero to skip removing files from the
**                           checkout.  Supersedes both the --soft and
**                           --hard options.
**   --soft                  Skip removing files from the checkout.
**                           This supersedes the --hard option.
................................................................................
**
** Usage: %fossil mv|rename OLDNAME NEWNAME
**    or: %fossil mv|rename OLDNAME... DIR
**
** Move or rename one or more files or directories within the repository tree.
** You can either rename a file or directory or move it to another subdirectory.
**
** This command does NOT normally rename or move the files on disk.  This
** command merely records the fact that filenames have changed so that
** appropriate notations can be made at the next commit/check-in.






**
** WARNING: If either the "--metadata-only 0" or "--hard" option is
**          specified -OR- the "move-files" setting is non-zero,
**          files WILL BE renamed or moved on disk as well.

**
** Options:
**   --metadata-only <BOOL>  Non-zero to skip moving files within the
**                           checkout.  Supersedes both the --soft and
**                           --hard options.
**   --soft                  Skip moving files within the checkout.
**                           This supersedes the --hard option.







|
|
|
>
>
>
>
>
>



|
>







 







|
|
|
>
>
>
>
>
>



|
>







419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
...
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
** COMMAND: delete
** COMMAND: forget*
**
** Usage: %fossil rm|delete|forget FILE1 ?FILE2 ...?
**
** Remove one or more files or directories from the repository.
**
** The 'rm' and 'delete' commands do NOT normally remove the files from
** disk.  They just mark the files as no longer being part of the project.
** In other words, future changes to the named files will not be versioned.
** However, the default behavior of this command may be overridden via the
** command line options listed below and/or the 'remove-files' setting.
**
** The 'forget' command never removes files from disk, even when the command
** line options and/or the 'remove-files' setting would otherwise require it
** to do so.
**
** WARNING: If either the "--metadata-only 0" or "--hard" option is
**          specified -OR- the "remove-files" setting is non-zero,
**          files WILL BE removed from disk as well.  This does NOT
**          apply to the 'forget' command.
**
** Options:
**   --metadata-only <BOOL>  Non-zero to skip removing files from the
**                           checkout.  Supersedes both the --soft and
**                           --hard options.
**   --soft                  Skip removing files from the checkout.
**                           This supersedes the --hard option.
................................................................................
**
** Usage: %fossil mv|rename OLDNAME NEWNAME
**    or: %fossil mv|rename OLDNAME... DIR
**
** Move or rename one or more files or directories within the repository tree.
** You can either rename a file or directory or move it to another subdirectory.
**
** The 'mv' command does NOT normally rename or move the files on disk.
** This command merely records the fact that file names have changed so
** that appropriate notations can be made at the next commit/check-in.
** However, the default behavior of this command may be overridden via
** command line options listed below and/or the 'move-files' setting.
**
** The 'rename' command never renames or moves files on disk, even when the
** command line options and/or the 'move-files' setting would otherwise
** require it to do so.
**
** WARNING: If either the "--metadata-only 0" or "--hard" option is
**          specified -OR- the "move-files" setting is non-zero,
**          files WILL BE renamed or moved on disk as well.  This does
**          NOT apply to the 'rename' command.
**
** Options:
**   --metadata-only <BOOL>  Non-zero to skip moving files within the
**                           checkout.  Supersedes both the --soft and
**                           --hard options.
**   --soft                  Skip moving files within the checkout.
**                           This supersedes the --hard option.