Fossil SCM

Many updates to built-in help pages. No changes to code.

drh 2020-08-08 23:51 trunk
Commit c965636958eb58aa2daaafa5d25f81f4e5b3edefe2d3fe98cabf25310fbb85c8
+16 -16
--- src/add.c
+++ src/add.c
@@ -320,11 +320,11 @@
320320
** COMMAND: add
321321
**
322322
** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
323323
**
324324
** Make arrangements to add one or more files or directories to the
325
-** current checkout at the next commit.
325
+** current checkout at the next [[commit]].
326326
**
327327
** When adding files or directories recursively, filenames that begin
328328
** with "." are excluded by default. To include such files, add
329329
** the "--dotfiles" option to the command-line.
330330
**
@@ -359,11 +359,11 @@
359359
**
360360
** The following options are only valid with --reset:
361361
** -v|--verbose Outputs information about each --reset file.
362362
** -n|--dry-run Display instead of run actions.
363363
**
364
-** See also: addremove, rm
364
+** See also: [[addremove]], [[rm]]
365365
*/
366366
void add_cmd(void){
367367
int i; /* Loop counter */
368368
int vid; /* Currently checked out version */
369369
int nRoot; /* Full path characters in g.zLocalRoot */
@@ -541,11 +541,11 @@
541541
** than --verbose or --dry-run may be used with
542542
** --reset.
543543
** --verbose|-v Outputs information about each --reset file.
544544
** Only usable with --reset.
545545
**
546
-** See also: addremove, add
546
+** See also: [[addremove]], [[add]]
547547
*/
548548
void delete_cmd(void){
549549
int i;
550550
int removeFiles;
551551
int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -689,22 +689,22 @@
689689
/*
690690
** COMMAND: addremove
691691
**
692692
** Usage: %fossil addremove ?OPTIONS?
693693
**
694
-** Do all necessary "add" and "rm" commands to synchronize the repository
695
-** with the content of the working checkout:
694
+** Do all necessary "[[add]]" and "[[rm]]" commands to synchronize the
695
+** repository with the content of the working checkout:
696696
**
697697
** * All files in the checkout but not in the repository (that is,
698698
** all files displayed using the "extras" command) are added as
699
-** if by the "add" command.
699
+** if by the "[[add]]" command.
700700
**
701701
** * All files in the repository but missing from the checkout (that is,
702702
** all files that show as MISSING with the "status" command) are
703
-** removed as if by the "rm" command.
703
+** removed as if by the "[[rm]]" command.
704704
**
705
-** The command does not "commit". You must run the "commit" separately
705
+** The command does not "[[commit]]". You must run the "[[commit]]" separately
706706
** as a separate step.
707707
**
708708
** Files and directories whose names begin with "." are ignored unless
709709
** the --dotfiles option is used.
710710
**
@@ -733,11 +733,11 @@
733733
** removed. No flags other than --verbose and
734734
** --dry-run may be used with --reset.
735735
** --verbose|-v Outputs information about each --reset file.
736736
** Only usable with --reset.
737737
**
738
-** See also: add, rm
738
+** See also: [[add]], [[rm]]
739739
*/
740740
void addremove_cmd(void){
741741
Blob path;
742742
const char *zCleanFlag;
743743
const char *zIgnoreFlag;
@@ -953,11 +953,11 @@
953953
** Move or rename one or more files or directories within the repository tree.
954954
** You can either rename a file or directory or move it to another subdirectory.
955955
**
956956
** The 'mv' command does NOT normally rename or move the files on disk.
957957
** This command merely records the fact that file names have changed so
958
-** that appropriate notations can be made at the next commit/check-in.
958
+** that appropriate notations can be made at the next [[commit]].
959959
** However, the default behavior of this command may be overridden via
960960
** command line options listed below and/or the 'mv-rm-files' setting.
961961
**
962962
** The 'rename' command never renames or moves files on disk, even when the
963963
** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -966,17 +966,17 @@
966966
** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
967967
** setting is non-zero, files WILL BE renamed or moved on disk
968968
** as well. This does NOT apply to the 'rename' command.
969969
**
970970
** Options:
971
-** --soft Skip moving files within the checkout.
972
-** This supersedes the --hard option.
973
-** --hard Move files within the checkout.
974
-** --case-sensitive <BOOL> Override the case-sensitive setting.
975
-** -n|--dry-run If given, display instead of run actions.
971
+** --soft Skip moving files within the checkout.
972
+** This supersedes the --hard option.
973
+** --hard Move files within the checkout.
974
+** --case-sensitive <BOOL> Override the case-sensitive setting.
975
+** -n|--dry-run If given, display instead of run actions.
976976
**
977
-** See also: changes, status
977
+** See also: [[changes]], [[status]]
978978
*/
979979
void mv_cmd(void){
980980
int i;
981981
int vid;
982982
int moveFiles;
983983
--- src/add.c
+++ src/add.c
@@ -320,11 +320,11 @@
320 ** COMMAND: add
321 **
322 ** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
323 **
324 ** Make arrangements to add one or more files or directories to the
325 ** current checkout at the next commit.
326 **
327 ** When adding files or directories recursively, filenames that begin
328 ** with "." are excluded by default. To include such files, add
329 ** the "--dotfiles" option to the command-line.
330 **
@@ -359,11 +359,11 @@
359 **
360 ** The following options are only valid with --reset:
361 ** -v|--verbose Outputs information about each --reset file.
362 ** -n|--dry-run Display instead of run actions.
363 **
364 ** See also: addremove, rm
365 */
366 void add_cmd(void){
367 int i; /* Loop counter */
368 int vid; /* Currently checked out version */
369 int nRoot; /* Full path characters in g.zLocalRoot */
@@ -541,11 +541,11 @@
541 ** than --verbose or --dry-run may be used with
542 ** --reset.
543 ** --verbose|-v Outputs information about each --reset file.
544 ** Only usable with --reset.
545 **
546 ** See also: addremove, add
547 */
548 void delete_cmd(void){
549 int i;
550 int removeFiles;
551 int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -689,22 +689,22 @@
689 /*
690 ** COMMAND: addremove
691 **
692 ** Usage: %fossil addremove ?OPTIONS?
693 **
694 ** Do all necessary "add" and "rm" commands to synchronize the repository
695 ** with the content of the working checkout:
696 **
697 ** * All files in the checkout but not in the repository (that is,
698 ** all files displayed using the "extras" command) are added as
699 ** if by the "add" command.
700 **
701 ** * All files in the repository but missing from the checkout (that is,
702 ** all files that show as MISSING with the "status" command) are
703 ** removed as if by the "rm" command.
704 **
705 ** The command does not "commit". You must run the "commit" separately
706 ** as a separate step.
707 **
708 ** Files and directories whose names begin with "." are ignored unless
709 ** the --dotfiles option is used.
710 **
@@ -733,11 +733,11 @@
733 ** removed. No flags other than --verbose and
734 ** --dry-run may be used with --reset.
735 ** --verbose|-v Outputs information about each --reset file.
736 ** Only usable with --reset.
737 **
738 ** See also: add, rm
739 */
740 void addremove_cmd(void){
741 Blob path;
742 const char *zCleanFlag;
743 const char *zIgnoreFlag;
@@ -953,11 +953,11 @@
953 ** Move or rename one or more files or directories within the repository tree.
954 ** You can either rename a file or directory or move it to another subdirectory.
955 **
956 ** The 'mv' command does NOT normally rename or move the files on disk.
957 ** This command merely records the fact that file names have changed so
958 ** that appropriate notations can be made at the next commit/check-in.
959 ** However, the default behavior of this command may be overridden via
960 ** command line options listed below and/or the 'mv-rm-files' setting.
961 **
962 ** The 'rename' command never renames or moves files on disk, even when the
963 ** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -966,17 +966,17 @@
966 ** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
967 ** setting is non-zero, files WILL BE renamed or moved on disk
968 ** as well. This does NOT apply to the 'rename' command.
969 **
970 ** Options:
971 ** --soft Skip moving files within the checkout.
972 ** This supersedes the --hard option.
973 ** --hard Move files within the checkout.
974 ** --case-sensitive <BOOL> Override the case-sensitive setting.
975 ** -n|--dry-run If given, display instead of run actions.
976 **
977 ** See also: changes, status
978 */
979 void mv_cmd(void){
980 int i;
981 int vid;
982 int moveFiles;
983
--- src/add.c
+++ src/add.c
@@ -320,11 +320,11 @@
320 ** COMMAND: add
321 **
322 ** Usage: %fossil add ?OPTIONS? FILE1 ?FILE2 ...?
323 **
324 ** Make arrangements to add one or more files or directories to the
325 ** current checkout at the next [[commit]].
326 **
327 ** When adding files or directories recursively, filenames that begin
328 ** with "." are excluded by default. To include such files, add
329 ** the "--dotfiles" option to the command-line.
330 **
@@ -359,11 +359,11 @@
359 **
360 ** The following options are only valid with --reset:
361 ** -v|--verbose Outputs information about each --reset file.
362 ** -n|--dry-run Display instead of run actions.
363 **
364 ** See also: [[addremove]], [[rm]]
365 */
366 void add_cmd(void){
367 int i; /* Loop counter */
368 int vid; /* Currently checked out version */
369 int nRoot; /* Full path characters in g.zLocalRoot */
@@ -541,11 +541,11 @@
541 ** than --verbose or --dry-run may be used with
542 ** --reset.
543 ** --verbose|-v Outputs information about each --reset file.
544 ** Only usable with --reset.
545 **
546 ** See also: [[addremove]], [[add]]
547 */
548 void delete_cmd(void){
549 int i;
550 int removeFiles;
551 int dryRunFlag = find_option("dry-run","n",0)!=0;
@@ -689,22 +689,22 @@
689 /*
690 ** COMMAND: addremove
691 **
692 ** Usage: %fossil addremove ?OPTIONS?
693 **
694 ** Do all necessary "[[add]]" and "[[rm]]" commands to synchronize the
695 ** repository with the content of the working checkout:
696 **
697 ** * All files in the checkout but not in the repository (that is,
698 ** all files displayed using the "extras" command) are added as
699 ** if by the "[[add]]" command.
700 **
701 ** * All files in the repository but missing from the checkout (that is,
702 ** all files that show as MISSING with the "status" command) are
703 ** removed as if by the "[[rm]]" command.
704 **
705 ** The command does not "[[commit]]". You must run the "[[commit]]" separately
706 ** as a separate step.
707 **
708 ** Files and directories whose names begin with "." are ignored unless
709 ** the --dotfiles option is used.
710 **
@@ -733,11 +733,11 @@
733 ** removed. No flags other than --verbose and
734 ** --dry-run may be used with --reset.
735 ** --verbose|-v Outputs information about each --reset file.
736 ** Only usable with --reset.
737 **
738 ** See also: [[add]], [[rm]]
739 */
740 void addremove_cmd(void){
741 Blob path;
742 const char *zCleanFlag;
743 const char *zIgnoreFlag;
@@ -953,11 +953,11 @@
953 ** Move or rename one or more files or directories within the repository tree.
954 ** You can either rename a file or directory or move it to another subdirectory.
955 **
956 ** The 'mv' command does NOT normally rename or move the files on disk.
957 ** This command merely records the fact that file names have changed so
958 ** that appropriate notations can be made at the next [[commit]].
959 ** However, the default behavior of this command may be overridden via
960 ** command line options listed below and/or the 'mv-rm-files' setting.
961 **
962 ** The 'rename' command never renames or moves files on disk, even when the
963 ** command line options and/or the 'mv-rm-files' setting would otherwise
@@ -966,17 +966,17 @@
966 ** WARNING: If the "--hard" option is specified -OR- the "mv-rm-files"
967 ** setting is non-zero, files WILL BE renamed or moved on disk
968 ** as well. This does NOT apply to the 'rename' command.
969 **
970 ** Options:
971 ** --soft Skip moving files within the checkout.
972 ** This supersedes the --hard option.
973 ** --hard Move files within the checkout.
974 ** --case-sensitive <BOOL> Override the case-sensitive setting.
975 ** -n|--dry-run If given, display instead of run actions.
976 **
977 ** See also: [[changes]], [[status]]
978 */
979 void mv_cmd(void){
980 int i;
981 int vid;
982 int moveFiles;
983
+2 -1
--- src/bisect.c
+++ src/bisect.c
@@ -381,11 +381,12 @@
381381
/*
382382
** COMMAND: bisect
383383
**
384384
** Usage: %fossil bisect SUBCOMMAND ...
385385
**
386
-** Run various subcommands useful for searching for bugs.
386
+** Run various subcommands useful for searching back through the change
387
+** history for a particular checkin that causes or fixes a problem.
387388
**
388389
** > fossil bisect bad ?VERSION?
389390
**
390391
** Identify version VERSION as non-working. If VERSION is omitted,
391392
** the current checkout is marked as non-working.
392393
--- src/bisect.c
+++ src/bisect.c
@@ -381,11 +381,12 @@
381 /*
382 ** COMMAND: bisect
383 **
384 ** Usage: %fossil bisect SUBCOMMAND ...
385 **
386 ** Run various subcommands useful for searching for bugs.
 
387 **
388 ** > fossil bisect bad ?VERSION?
389 **
390 ** Identify version VERSION as non-working. If VERSION is omitted,
391 ** the current checkout is marked as non-working.
392
--- src/bisect.c
+++ src/bisect.c
@@ -381,11 +381,12 @@
381 /*
382 ** COMMAND: bisect
383 **
384 ** Usage: %fossil bisect SUBCOMMAND ...
385 **
386 ** Run various subcommands useful for searching back through the change
387 ** history for a particular checkin that causes or fixes a problem.
388 **
389 ** > fossil bisect bad ?VERSION?
390 **
391 ** Identify version VERSION as non-working. If VERSION is omitted,
392 ** the current checkout is marked as non-working.
393
--- src/branch.c
+++ src/branch.c
@@ -382,16 +382,10 @@
382382
** Either no timezone suffix or "Z" means UTC.
383383
**
384384
** Options valid for all subcommands:
385385
**
386386
** -R|--repository FILE Run commands on repository FILE
387
-**
388
-** Summary:
389
-** fossil branch current
390
-** fossil branch info BRANCH-NAME
391
-** fossil branch [list|ls]
392
-** fossil branch new BRANCH-NAME BASIS
393387
*/
394388
void branch_cmd(void){
395389
int n;
396390
const char *zCmd = "list";
397391
db_find_and_open_repository(0, 0);
398392
--- src/branch.c
+++ src/branch.c
@@ -382,16 +382,10 @@
382 ** Either no timezone suffix or "Z" means UTC.
383 **
384 ** Options valid for all subcommands:
385 **
386 ** -R|--repository FILE Run commands on repository FILE
387 **
388 ** Summary:
389 ** fossil branch current
390 ** fossil branch info BRANCH-NAME
391 ** fossil branch [list|ls]
392 ** fossil branch new BRANCH-NAME BASIS
393 */
394 void branch_cmd(void){
395 int n;
396 const char *zCmd = "list";
397 db_find_and_open_repository(0, 0);
398
--- src/branch.c
+++ src/branch.c
@@ -382,16 +382,10 @@
382 ** Either no timezone suffix or "Z" means UTC.
383 **
384 ** Options valid for all subcommands:
385 **
386 ** -R|--repository FILE Run commands on repository FILE
 
 
 
 
 
 
387 */
388 void branch_cmd(void){
389 int n;
390 const char *zCmd = "list";
391 db_find_and_open_repository(0, 0);
392
+1 -15
--- src/bundle.c
+++ src/bundle.c
@@ -768,25 +768,11 @@
768768
**
769769
** Remove from the repository all files that are used exclusively
770770
** by check-ins in BUNDLE. This has the effect of undoing a
771771
** "fossil bundle import".
772772
**
773
-** SUMMARY:
774
-** fossil bundle append BUNDLE FILE... Add files to BUNDLE
775
-** fossil bundle cat BUNDLE HASH... Extract file from BUNDLE
776
-** fossil bundle export BUNDLE ?OPTIONS? Create a new BUNDLE
777
-** --branch BRANCH --from TAG1 --to TAG2 Check-ins to include
778
-** --checkin TAG Use only check-in TAG
779
-** --standalone Omit dependencies
780
-** fossil bundle extend BUNDLE Update with newer content
781
-** fossil bundle import BUNDLE ?OPTIONS? Import a bundle
782
-** --publish Publish the import
783
-** --force Cross-repo import
784
-** fossil bundle ls BUNDLE List content of a bundle
785
-** fossil bundle purge BUNDLE Undo an import
786
-**
787
-** See also: publish
773
+** See also: [[publish]]
788774
*/
789775
void bundle_cmd(void){
790776
const char *zSubcmd;
791777
int n;
792778
if( g.argc<4 ) usage("SUBCOMMAND BUNDLE ?OPTIONS?");
793779
--- src/bundle.c
+++ src/bundle.c
@@ -768,25 +768,11 @@
768 **
769 ** Remove from the repository all files that are used exclusively
770 ** by check-ins in BUNDLE. This has the effect of undoing a
771 ** "fossil bundle import".
772 **
773 ** SUMMARY:
774 ** fossil bundle append BUNDLE FILE... Add files to BUNDLE
775 ** fossil bundle cat BUNDLE HASH... Extract file from BUNDLE
776 ** fossil bundle export BUNDLE ?OPTIONS? Create a new BUNDLE
777 ** --branch BRANCH --from TAG1 --to TAG2 Check-ins to include
778 ** --checkin TAG Use only check-in TAG
779 ** --standalone Omit dependencies
780 ** fossil bundle extend BUNDLE Update with newer content
781 ** fossil bundle import BUNDLE ?OPTIONS? Import a bundle
782 ** --publish Publish the import
783 ** --force Cross-repo import
784 ** fossil bundle ls BUNDLE List content of a bundle
785 ** fossil bundle purge BUNDLE Undo an import
786 **
787 ** See also: publish
788 */
789 void bundle_cmd(void){
790 const char *zSubcmd;
791 int n;
792 if( g.argc<4 ) usage("SUBCOMMAND BUNDLE ?OPTIONS?");
793
--- src/bundle.c
+++ src/bundle.c
@@ -768,25 +768,11 @@
768 **
769 ** Remove from the repository all files that are used exclusively
770 ** by check-ins in BUNDLE. This has the effect of undoing a
771 ** "fossil bundle import".
772 **
773 ** See also: [[publish]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
774 */
775 void bundle_cmd(void){
776 const char *zSubcmd;
777 int n;
778 if( g.argc<4 ) usage("SUBCOMMAND BUNDLE ?OPTIONS?");
779
+5 -5
--- src/checkin.c
+++ src/checkin.c
@@ -440,11 +440,11 @@
440440
** --extra Display unmanaged files.
441441
** --differ Display modified and extra files.
442442
** --merge Display merge contributors.
443443
** --no-merge Do not display merge contributors.
444444
**
445
-** See also: extras, ls
445
+** See also: [[extras]], [[ls]]
446446
*/
447447
void status_cmd(void){
448448
/* Affirmative and negative flag option tables. */
449449
static const struct {
450450
const char *option; /* Flag name. */
@@ -676,11 +676,11 @@
676676
** -v|--verbose Provide extra information about each file.
677677
** -t Sort output in time order.
678678
** -r VERSION The specific check-in to list.
679679
** -R|--repository FILE Extract info from repository FILE.
680680
**
681
-** See also: changes, extras, status
681
+** See also: [[changes]], [[extras]], [[status]]
682682
*/
683683
void ls_cmd(void){
684684
int vid;
685685
Stmt q;
686686
int verboseFlag;
@@ -830,11 +830,11 @@
830830
** --header Identify the repository if there are extras
831831
** --ignore CSG Ignore files matching patterns from the argument
832832
** --rel-paths Display pathnames relative to the current working
833833
** directory.
834834
**
835
-** See also: changes, clean, status
835
+** See also: [[changes]], [[clean]], [[status]]
836836
*/
837837
void extras_cmd(void){
838838
Blob report = BLOB_INITIALIZER;
839839
const char *zIgnoreFlag = find_option("ignore",0,1);
840840
unsigned scanFlags = find_option("dotfiles",0,0)!=0 ? SCAN_ALL : 0;
@@ -954,11 +954,11 @@
954954
** --no-prompt This option disables prompting the user for input
955955
** and assumes an answer of 'No' for every question.
956956
** --temp Remove only Fossil-generated temporary files.
957957
** -v|--verbose Show all files as they are removed.
958958
**
959
-** See also: addremove, extras, status
959
+** See also: [[addremove]], [[extras]], [[status]]
960960
*/
961961
void clean_cmd(void){
962962
int allFileFlag, allDirFlag, dryRunFlag, verboseFlag;
963963
int emptyDirsFlag, dirsOnlyFlag;
964964
int disableUndo, noPrompt;
@@ -2091,11 +2091,11 @@
20912091
** year-month-day form, it may be truncated, the "T" may be replaced by
20922092
** a space, and it may also name a timezone offset from UTC as "-HH:MM"
20932093
** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
20942094
** means UTC.
20952095
**
2096
-** See also: branch, changes, checkout, extras, sync
2096
+** See also: [[branch]], [[changes]], [[update]], [[extras]], [[sync]]
20972097
*/
20982098
void commit_cmd(void){
20992099
int hasChanges; /* True if unsaved changes exist */
21002100
int vid; /* blob-id of parent version */
21012101
int nrid; /* blob-id of a modified file */
21022102
--- src/checkin.c
+++ src/checkin.c
@@ -440,11 +440,11 @@
440 ** --extra Display unmanaged files.
441 ** --differ Display modified and extra files.
442 ** --merge Display merge contributors.
443 ** --no-merge Do not display merge contributors.
444 **
445 ** See also: extras, ls
446 */
447 void status_cmd(void){
448 /* Affirmative and negative flag option tables. */
449 static const struct {
450 const char *option; /* Flag name. */
@@ -676,11 +676,11 @@
676 ** -v|--verbose Provide extra information about each file.
677 ** -t Sort output in time order.
678 ** -r VERSION The specific check-in to list.
679 ** -R|--repository FILE Extract info from repository FILE.
680 **
681 ** See also: changes, extras, status
682 */
683 void ls_cmd(void){
684 int vid;
685 Stmt q;
686 int verboseFlag;
@@ -830,11 +830,11 @@
830 ** --header Identify the repository if there are extras
831 ** --ignore CSG Ignore files matching patterns from the argument
832 ** --rel-paths Display pathnames relative to the current working
833 ** directory.
834 **
835 ** See also: changes, clean, status
836 */
837 void extras_cmd(void){
838 Blob report = BLOB_INITIALIZER;
839 const char *zIgnoreFlag = find_option("ignore",0,1);
840 unsigned scanFlags = find_option("dotfiles",0,0)!=0 ? SCAN_ALL : 0;
@@ -954,11 +954,11 @@
954 ** --no-prompt This option disables prompting the user for input
955 ** and assumes an answer of 'No' for every question.
956 ** --temp Remove only Fossil-generated temporary files.
957 ** -v|--verbose Show all files as they are removed.
958 **
959 ** See also: addremove, extras, status
960 */
961 void clean_cmd(void){
962 int allFileFlag, allDirFlag, dryRunFlag, verboseFlag;
963 int emptyDirsFlag, dirsOnlyFlag;
964 int disableUndo, noPrompt;
@@ -2091,11 +2091,11 @@
2091 ** year-month-day form, it may be truncated, the "T" may be replaced by
2092 ** a space, and it may also name a timezone offset from UTC as "-HH:MM"
2093 ** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
2094 ** means UTC.
2095 **
2096 ** See also: branch, changes, checkout, extras, sync
2097 */
2098 void commit_cmd(void){
2099 int hasChanges; /* True if unsaved changes exist */
2100 int vid; /* blob-id of parent version */
2101 int nrid; /* blob-id of a modified file */
2102
--- src/checkin.c
+++ src/checkin.c
@@ -440,11 +440,11 @@
440 ** --extra Display unmanaged files.
441 ** --differ Display modified and extra files.
442 ** --merge Display merge contributors.
443 ** --no-merge Do not display merge contributors.
444 **
445 ** See also: [[extras]], [[ls]]
446 */
447 void status_cmd(void){
448 /* Affirmative and negative flag option tables. */
449 static const struct {
450 const char *option; /* Flag name. */
@@ -676,11 +676,11 @@
676 ** -v|--verbose Provide extra information about each file.
677 ** -t Sort output in time order.
678 ** -r VERSION The specific check-in to list.
679 ** -R|--repository FILE Extract info from repository FILE.
680 **
681 ** See also: [[changes]], [[extras]], [[status]]
682 */
683 void ls_cmd(void){
684 int vid;
685 Stmt q;
686 int verboseFlag;
@@ -830,11 +830,11 @@
830 ** --header Identify the repository if there are extras
831 ** --ignore CSG Ignore files matching patterns from the argument
832 ** --rel-paths Display pathnames relative to the current working
833 ** directory.
834 **
835 ** See also: [[changes]], [[clean]], [[status]]
836 */
837 void extras_cmd(void){
838 Blob report = BLOB_INITIALIZER;
839 const char *zIgnoreFlag = find_option("ignore",0,1);
840 unsigned scanFlags = find_option("dotfiles",0,0)!=0 ? SCAN_ALL : 0;
@@ -954,11 +954,11 @@
954 ** --no-prompt This option disables prompting the user for input
955 ** and assumes an answer of 'No' for every question.
956 ** --temp Remove only Fossil-generated temporary files.
957 ** -v|--verbose Show all files as they are removed.
958 **
959 ** See also: [[addremove]], [[extras]], [[status]]
960 */
961 void clean_cmd(void){
962 int allFileFlag, allDirFlag, dryRunFlag, verboseFlag;
963 int emptyDirsFlag, dirsOnlyFlag;
964 int disableUndo, noPrompt;
@@ -2091,11 +2091,11 @@
2091 ** year-month-day form, it may be truncated, the "T" may be replaced by
2092 ** a space, and it may also name a timezone offset from UTC as "-HH:MM"
2093 ** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
2094 ** means UTC.
2095 **
2096 ** See also: [[branch]], [[changes]], [[update]], [[extras]], [[sync]]
2097 */
2098 void commit_cmd(void){
2099 int hasChanges; /* True if unsaved changes exist */
2100 int vid; /* blob-id of parent version */
2101 int nrid; /* blob-id of a modified file */
2102
+3 -3
--- src/checkout.c
+++ src/checkout.c
@@ -279,11 +279,11 @@
279279
** --force-missing Force checkout even if content is missing
280280
** --setmtime Set timestamps of all files to match their SCM-side
281281
** times (the timestamp of the last checkin which modified
282282
** them).
283283
**
284
-** See also: update
284
+** See also: [[update]]
285285
*/
286286
void checkout_cmd(void){
287287
int forceFlag; /* Force checkout even if edits exist */
288288
int forceMissingFlag; /* Force checkout even if missing content */
289289
int keepFlag; /* Do not change any files on disk */
@@ -387,18 +387,18 @@
387387
/*
388388
** COMMAND: close*
389389
**
390390
** Usage: %fossil close ?OPTIONS?
391391
**
392
-** The opposite of "open". Close the current database connection.
392
+** The opposite of "[[open]]". Close the current database connection.
393393
** Require a -f or --force flag if there are unsaved changes in the
394394
** current check-out or if there is non-empty stash.
395395
**
396396
** Options:
397397
** --force|-f necessary to close a check out with uncommitted changes
398398
**
399
-** See also: open
399
+** See also: [[open]]
400400
*/
401401
void close_cmd(void){
402402
int forceFlag = find_option("force","f",0)!=0;
403403
db_must_be_within_tree();
404404
405405
--- src/checkout.c
+++ src/checkout.c
@@ -279,11 +279,11 @@
279 ** --force-missing Force checkout even if content is missing
280 ** --setmtime Set timestamps of all files to match their SCM-side
281 ** times (the timestamp of the last checkin which modified
282 ** them).
283 **
284 ** See also: update
285 */
286 void checkout_cmd(void){
287 int forceFlag; /* Force checkout even if edits exist */
288 int forceMissingFlag; /* Force checkout even if missing content */
289 int keepFlag; /* Do not change any files on disk */
@@ -387,18 +387,18 @@
387 /*
388 ** COMMAND: close*
389 **
390 ** Usage: %fossil close ?OPTIONS?
391 **
392 ** The opposite of "open". Close the current database connection.
393 ** Require a -f or --force flag if there are unsaved changes in the
394 ** current check-out or if there is non-empty stash.
395 **
396 ** Options:
397 ** --force|-f necessary to close a check out with uncommitted changes
398 **
399 ** See also: open
400 */
401 void close_cmd(void){
402 int forceFlag = find_option("force","f",0)!=0;
403 db_must_be_within_tree();
404
405
--- src/checkout.c
+++ src/checkout.c
@@ -279,11 +279,11 @@
279 ** --force-missing Force checkout even if content is missing
280 ** --setmtime Set timestamps of all files to match their SCM-side
281 ** times (the timestamp of the last checkin which modified
282 ** them).
283 **
284 ** See also: [[update]]
285 */
286 void checkout_cmd(void){
287 int forceFlag; /* Force checkout even if edits exist */
288 int forceMissingFlag; /* Force checkout even if missing content */
289 int keepFlag; /* Do not change any files on disk */
@@ -387,18 +387,18 @@
387 /*
388 ** COMMAND: close*
389 **
390 ** Usage: %fossil close ?OPTIONS?
391 **
392 ** The opposite of "[[open]]". Close the current database connection.
393 ** Require a -f or --force flag if there are unsaved changes in the
394 ** current check-out or if there is non-empty stash.
395 **
396 ** Options:
397 ** --force|-f necessary to close a check out with uncommitted changes
398 **
399 ** See also: [[open]]
400 */
401 void close_cmd(void){
402 int forceFlag = find_option("force","f",0)!=0;
403 db_must_be_within_tree();
404
405
+1 -1
--- src/configure.c
+++ src/configure.c
@@ -746,11 +746,11 @@
746746
** the remote repository at URL.
747747
**
748748
** Options:
749749
** -R|--repository FILE Extract info from repository FILE
750750
**
751
-** See also: settings, unset
751
+** See also: [[settings]], [[unset]]
752752
*/
753753
void configuration_cmd(void){
754754
int n;
755755
const char *zMethod;
756756
db_find_and_open_repository(0, 0);
757757
--- src/configure.c
+++ src/configure.c
@@ -746,11 +746,11 @@
746 ** the remote repository at URL.
747 **
748 ** Options:
749 ** -R|--repository FILE Extract info from repository FILE
750 **
751 ** See also: settings, unset
752 */
753 void configuration_cmd(void){
754 int n;
755 const char *zMethod;
756 db_find_and_open_repository(0, 0);
757
--- src/configure.c
+++ src/configure.c
@@ -746,11 +746,11 @@
746 ** the remote repository at URL.
747 **
748 ** Options:
749 ** -R|--repository FILE Extract info from repository FILE
750 **
751 ** See also: [[settings]], [[unset]]
752 */
753 void configuration_cmd(void){
754 int n;
755 const char *zMethod;
756 db_find_and_open_repository(0, 0);
757
+1 -1
--- src/content.c
+++ src/content.c
@@ -326,11 +326,11 @@
326326
** the named output file.
327327
**
328328
** Options:
329329
** -R|--repository FILE Extract artifacts from repository FILE
330330
**
331
-** See also: finfo
331
+** See also: [[finfo]]
332332
*/
333333
void artifact_cmd(void){
334334
int rid;
335335
Blob content;
336336
const char *zFile;
337337
--- src/content.c
+++ src/content.c
@@ -326,11 +326,11 @@
326 ** the named output file.
327 **
328 ** Options:
329 ** -R|--repository FILE Extract artifacts from repository FILE
330 **
331 ** See also: finfo
332 */
333 void artifact_cmd(void){
334 int rid;
335 Blob content;
336 const char *zFile;
337
--- src/content.c
+++ src/content.c
@@ -326,11 +326,11 @@
326 ** the named output file.
327 **
328 ** Options:
329 ** -R|--repository FILE Extract artifacts from repository FILE
330 **
331 ** See also: [[finfo]]
332 */
333 void artifact_cmd(void){
334 int rid;
335 Blob content;
336 const char *zFile;
337
+10 -11
--- src/db.c
+++ src/db.c
@@ -3089,39 +3089,38 @@
30893089
** check-in on the main branch (usually "trunk") is used.
30903090
**
30913091
** REPOSITORY can be the filename for a repository that already exists on the
30923092
** local machine or it can be a URI for a remote repository. If REPOSITORY
30933093
** is a URI in one of the formats recognized by the [[clone]] command, then
3094
-** remote repo is first cloned, then the clone is opened.
3095
-** The clone will be stored in the current directory, or in an alternative
3096
-** directory specified by the --repodir option. The name of the clone will
3097
-** be taken from the last term of the URI. For http: and https: URIs, you
3098
-** can append an extra term on the end to get any repository name you like.
3099
-** For example:
3094
+** remote repo is first cloned, then the clone is opened. The clone will be
3095
+** stored in the current directory, or in DIR if the "--workdir DIR" option
3096
+** is used. The name of the clone will be taken from the last term of the URI.
3097
+** For "http:" and "https:" URIs, you can append an extra term on the end to
3098
+** get any repository name you like. For example:
31003099
**
31013100
** fossil open https://fossil-scm.org/home/new-name
31023101
**
3103
-** The base URI for cloning is 'https://fossil-scm.org/home'. The extra
3104
-** 'new-name' term means that the cloned repository will be called
3105
-** 'new-name.fossil'.
3102
+** The base URI for cloning is "https://fossil-scm.org/home". The extra
3103
+** "new-name" term means that the cloned repository will be called
3104
+** "new-name.fossil".
31063105
**
31073106
** Options:
31083107
** --empty Initialize checkout as being empty, but still connected
31093108
** with the local repository. If you commit this checkout,
31103109
** it will become a new "initial" commit in the repository.
31113110
** --force Continue with the open even if the working directory is
3112
-** not empy.
3111
+** not empty.
31133112
** --force-missing Force opening a repository with missing content
31143113
** --keep Only modify the manifest and manifest.uuid files
31153114
** --nested Allow opening a repository inside an opened checkout
31163115
** --repodir DIR If REPOSITORY is a URI that will be cloned, store
31173116
** the clone in DIR rather than in "."
31183117
** --setmtime Set timestamps of all files to match their SCM-side
31193118
** times (the timestamp of the last checkin which modified
31203119
** them).
31213120
** --workdir DIR Use DIR as the working directory instead of ".". The DIR
3122
-** directory is created if it does not previously exist.
3121
+** directory is created if it does not exist.
31233122
**
31243123
** See also: [[close]], [[clone]]
31253124
*/
31263125
void cmd_open(void){
31273126
int emptyFlag;
31283127
--- src/db.c
+++ src/db.c
@@ -3089,39 +3089,38 @@
3089 ** check-in on the main branch (usually "trunk") is used.
3090 **
3091 ** REPOSITORY can be the filename for a repository that already exists on the
3092 ** local machine or it can be a URI for a remote repository. If REPOSITORY
3093 ** is a URI in one of the formats recognized by the [[clone]] command, then
3094 ** remote repo is first cloned, then the clone is opened.
3095 ** The clone will be stored in the current directory, or in an alternative
3096 ** directory specified by the --repodir option. The name of the clone will
3097 ** be taken from the last term of the URI. For http: and https: URIs, you
3098 ** can append an extra term on the end to get any repository name you like.
3099 ** For example:
3100 **
3101 ** fossil open https://fossil-scm.org/home/new-name
3102 **
3103 ** The base URI for cloning is 'https://fossil-scm.org/home'. The extra
3104 ** 'new-name' term means that the cloned repository will be called
3105 ** 'new-name.fossil'.
3106 **
3107 ** Options:
3108 ** --empty Initialize checkout as being empty, but still connected
3109 ** with the local repository. If you commit this checkout,
3110 ** it will become a new "initial" commit in the repository.
3111 ** --force Continue with the open even if the working directory is
3112 ** not empy.
3113 ** --force-missing Force opening a repository with missing content
3114 ** --keep Only modify the manifest and manifest.uuid files
3115 ** --nested Allow opening a repository inside an opened checkout
3116 ** --repodir DIR If REPOSITORY is a URI that will be cloned, store
3117 ** the clone in DIR rather than in "."
3118 ** --setmtime Set timestamps of all files to match their SCM-side
3119 ** times (the timestamp of the last checkin which modified
3120 ** them).
3121 ** --workdir DIR Use DIR as the working directory instead of ".". The DIR
3122 ** directory is created if it does not previously exist.
3123 **
3124 ** See also: [[close]], [[clone]]
3125 */
3126 void cmd_open(void){
3127 int emptyFlag;
3128
--- src/db.c
+++ src/db.c
@@ -3089,39 +3089,38 @@
3089 ** check-in on the main branch (usually "trunk") is used.
3090 **
3091 ** REPOSITORY can be the filename for a repository that already exists on the
3092 ** local machine or it can be a URI for a remote repository. If REPOSITORY
3093 ** is a URI in one of the formats recognized by the [[clone]] command, then
3094 ** remote repo is first cloned, then the clone is opened. The clone will be
3095 ** stored in the current directory, or in DIR if the "--workdir DIR" option
3096 ** is used. The name of the clone will be taken from the last term of the URI.
3097 ** For "http:" and "https:" URIs, you can append an extra term on the end to
3098 ** get any repository name you like. For example:
 
3099 **
3100 ** fossil open https://fossil-scm.org/home/new-name
3101 **
3102 ** The base URI for cloning is "https://fossil-scm.org/home". The extra
3103 ** "new-name" term means that the cloned repository will be called
3104 ** "new-name.fossil".
3105 **
3106 ** Options:
3107 ** --empty Initialize checkout as being empty, but still connected
3108 ** with the local repository. If you commit this checkout,
3109 ** it will become a new "initial" commit in the repository.
3110 ** --force Continue with the open even if the working directory is
3111 ** not empty.
3112 ** --force-missing Force opening a repository with missing content
3113 ** --keep Only modify the manifest and manifest.uuid files
3114 ** --nested Allow opening a repository inside an opened checkout
3115 ** --repodir DIR If REPOSITORY is a URI that will be cloned, store
3116 ** the clone in DIR rather than in "."
3117 ** --setmtime Set timestamps of all files to match their SCM-side
3118 ** times (the timestamp of the last checkin which modified
3119 ** them).
3120 ** --workdir DIR Use DIR as the working directory instead of ".". The DIR
3121 ** directory is created if it does not exist.
3122 **
3123 ** See also: [[close]], [[clone]]
3124 */
3125 void cmd_open(void){
3126 int emptyFlag;
3127
--- src/descendants.c
+++ src/descendants.c
@@ -348,11 +348,11 @@
348348
** -R|--repository FILE Extract info from repository FILE
349349
** -W|--width <num> Width of lines (default is to auto-detect).
350350
** Must be >20 or 0 (= no limit, resulting in a
351351
** single line per entry).
352352
**
353
-** See also: finfo, info, leaves
353
+** See also: [[finfo]], [[info]], [[leaves]]
354354
*/
355355
void descendants_cmd(void){
356356
Stmt q;
357357
int base, width;
358358
const char *zWidth;
@@ -408,11 +408,11 @@
408408
** --recompute recompute the "leaf" table in the repository DB
409409
** -W|--width <num> Width of lines (default is to auto-detect). Must be
410410
** >39 or 0 (= no limit, resulting in a single line per
411411
** entry).
412412
**
413
-** See also: descendants, finfo, info, branch
413
+** See also: [[descendants]], [[finfo]], [[info]], [[branch]]
414414
*/
415415
void leaves_cmd(void){
416416
Stmt q;
417417
Blob sql;
418418
int showAll = find_option("all", "a", 0)!=0;
419419
--- src/descendants.c
+++ src/descendants.c
@@ -348,11 +348,11 @@
348 ** -R|--repository FILE Extract info from repository FILE
349 ** -W|--width <num> Width of lines (default is to auto-detect).
350 ** Must be >20 or 0 (= no limit, resulting in a
351 ** single line per entry).
352 **
353 ** See also: finfo, info, leaves
354 */
355 void descendants_cmd(void){
356 Stmt q;
357 int base, width;
358 const char *zWidth;
@@ -408,11 +408,11 @@
408 ** --recompute recompute the "leaf" table in the repository DB
409 ** -W|--width <num> Width of lines (default is to auto-detect). Must be
410 ** >39 or 0 (= no limit, resulting in a single line per
411 ** entry).
412 **
413 ** See also: descendants, finfo, info, branch
414 */
415 void leaves_cmd(void){
416 Stmt q;
417 Blob sql;
418 int showAll = find_option("all", "a", 0)!=0;
419
--- src/descendants.c
+++ src/descendants.c
@@ -348,11 +348,11 @@
348 ** -R|--repository FILE Extract info from repository FILE
349 ** -W|--width <num> Width of lines (default is to auto-detect).
350 ** Must be >20 or 0 (= no limit, resulting in a
351 ** single line per entry).
352 **
353 ** See also: [[finfo]], [[info]], [[leaves]]
354 */
355 void descendants_cmd(void){
356 Stmt q;
357 int base, width;
358 const char *zWidth;
@@ -408,11 +408,11 @@
408 ** --recompute recompute the "leaf" table in the repository DB
409 ** -W|--width <num> Width of lines (default is to auto-detect). Must be
410 ** >39 or 0 (= no limit, resulting in a single line per
411 ** entry).
412 **
413 ** See also: [[descendants]], [[finfo]], [[info]], [[branch]]
414 */
415 void leaves_cmd(void){
416 Stmt q;
417 Blob sql;
418 int showAll = find_option("all", "a", 0)!=0;
419
+1 -1
--- src/diff.c
+++ src/diff.c
@@ -2596,11 +2596,11 @@
25962596
** root of the repository. Set to "trunk" or
25972597
** similar for a reverse annotation.
25982598
** -w|--ignore-all-space Ignore white space when comparing lines
25992599
** -Z|--ignore-trailing-space Ignore whitespace at line end
26002600
**
2601
-** See also: info, finfo, timeline
2601
+** See also: [[info]], [[finfo]], [[timeline]]
26022602
*/
26032603
void annotate_cmd(void){
26042604
const char *zRevision; /* Revision name, or NULL for current check-in */
26052605
Annotator ann; /* The annotation of the file */
26062606
int i; /* Loop counter */
26072607
--- src/diff.c
+++ src/diff.c
@@ -2596,11 +2596,11 @@
2596 ** root of the repository. Set to "trunk" or
2597 ** similar for a reverse annotation.
2598 ** -w|--ignore-all-space Ignore white space when comparing lines
2599 ** -Z|--ignore-trailing-space Ignore whitespace at line end
2600 **
2601 ** See also: info, finfo, timeline
2602 */
2603 void annotate_cmd(void){
2604 const char *zRevision; /* Revision name, or NULL for current check-in */
2605 Annotator ann; /* The annotation of the file */
2606 int i; /* Loop counter */
2607
--- src/diff.c
+++ src/diff.c
@@ -2596,11 +2596,11 @@
2596 ** root of the repository. Set to "trunk" or
2597 ** similar for a reverse annotation.
2598 ** -w|--ignore-all-space Ignore white space when comparing lines
2599 ** -Z|--ignore-trailing-space Ignore whitespace at line end
2600 **
2601 ** See also: [[info]], [[finfo]], [[timeline]]
2602 */
2603 void annotate_cmd(void){
2604 const char *zRevision; /* Revision name, or NULL for current check-in */
2605 Annotator ann; /* The annotation of the file */
2606 int i; /* Loop counter */
2607
+2 -2
--- src/finfo.c
+++ src/finfo.c
@@ -54,11 +54,11 @@
5454
** -s|--status select status mode (print a status indicator for FILE)
5555
** -W|--width <num> Width of lines (default is to auto-detect). Must be
5656
** >22 or 0 (= no limit, resulting in a single line per
5757
** entry).
5858
**
59
-** See also: artifact, cat, descendants, info, leaves
59
+** See also: [[artifact]], [[cat]], [[descendants]], [[info]], [[leaves]]
6060
*/
6161
void finfo_cmd(void){
6262
db_must_be_within_tree();
6363
if( find_option("status","s",0) ){
6464
Stmt q;
@@ -245,11 +245,11 @@
245245
**
246246
** Options:
247247
** -R|--repository FILE Extract artifacts from repository FILE
248248
** -r VERSION The specific check-in containing the file
249249
**
250
-** See also: finfo
250
+** See also: [[finfo]]
251251
*/
252252
void cat_cmd(void){
253253
int i;
254254
Blob content, fname;
255255
const char *zRev;
256256
--- src/finfo.c
+++ src/finfo.c
@@ -54,11 +54,11 @@
54 ** -s|--status select status mode (print a status indicator for FILE)
55 ** -W|--width <num> Width of lines (default is to auto-detect). Must be
56 ** >22 or 0 (= no limit, resulting in a single line per
57 ** entry).
58 **
59 ** See also: artifact, cat, descendants, info, leaves
60 */
61 void finfo_cmd(void){
62 db_must_be_within_tree();
63 if( find_option("status","s",0) ){
64 Stmt q;
@@ -245,11 +245,11 @@
245 **
246 ** Options:
247 ** -R|--repository FILE Extract artifacts from repository FILE
248 ** -r VERSION The specific check-in containing the file
249 **
250 ** See also: finfo
251 */
252 void cat_cmd(void){
253 int i;
254 Blob content, fname;
255 const char *zRev;
256
--- src/finfo.c
+++ src/finfo.c
@@ -54,11 +54,11 @@
54 ** -s|--status select status mode (print a status indicator for FILE)
55 ** -W|--width <num> Width of lines (default is to auto-detect). Must be
56 ** >22 or 0 (= no limit, resulting in a single line per
57 ** entry).
58 **
59 ** See also: [[artifact]], [[cat]], [[descendants]], [[info]], [[leaves]]
60 */
61 void finfo_cmd(void){
62 db_must_be_within_tree();
63 if( find_option("status","s",0) ){
64 Stmt q;
@@ -245,11 +245,11 @@
245 **
246 ** Options:
247 ** -R|--repository FILE Extract artifacts from repository FILE
248 ** -r VERSION The specific check-in containing the file
249 **
250 ** See also: [[finfo]]
251 */
252 void cat_cmd(void){
253 int i;
254 Blob content, fname;
255 const char *zRev;
256
+1 -1
--- src/info.c
+++ src/info.c
@@ -191,11 +191,11 @@
191191
** Options:
192192
**
193193
** -R|--repository FILE Extract info from repository FILE
194194
** -v|--verbose Show extra information about repositories
195195
**
196
-** See also: annotate, artifact, finfo, timeline
196
+** See also: [[annotate]], [[artifact]], [[finfo]], [[timeline]]
197197
*/
198198
void info_cmd(void){
199199
i64 fsize;
200200
int verboseFlag = find_option("verbose","v",0)!=0;
201201
if( !verboseFlag ){
202202
--- src/info.c
+++ src/info.c
@@ -191,11 +191,11 @@
191 ** Options:
192 **
193 ** -R|--repository FILE Extract info from repository FILE
194 ** -v|--verbose Show extra information about repositories
195 **
196 ** See also: annotate, artifact, finfo, timeline
197 */
198 void info_cmd(void){
199 i64 fsize;
200 int verboseFlag = find_option("verbose","v",0)!=0;
201 if( !verboseFlag ){
202
--- src/info.c
+++ src/info.c
@@ -191,11 +191,11 @@
191 ** Options:
192 **
193 ** -R|--repository FILE Extract info from repository FILE
194 ** -v|--verbose Show extra information about repositories
195 **
196 ** See also: [[annotate]], [[artifact]], [[finfo]], [[timeline]]
197 */
198 void info_cmd(void){
199 i64 fsize;
200 int verboseFlag = find_option("verbose","v",0)!=0;
201 if( !verboseFlag ){
202
+4 -4
--- src/main.c
+++ src/main.c
@@ -2103,11 +2103,11 @@
21032103
** flag of the http command.
21042104
**
21052105
** Most CGI files contain only a "repository:" line. It is uncommon to
21062106
** use any other option.
21072107
**
2108
-** See also: http, server, winsrv
2108
+** See also: [[http]], [[server]], [[winsrv]]
21092109
*/
21102110
void cmd_cgi(void){
21112111
const char *zFile;
21122112
const char *zNotFound = 0;
21132113
char **azRedirect = 0; /* List of repositories to redirect to */
@@ -2501,11 +2501,11 @@
25012501
** --skin LABEL Use override skin LABEL
25022502
** --th-trace trace TH1 execution (for debugging purposes)
25032503
** --usepidkey Use saved encryption key from parent process. This is
25042504
** only necessary when using SEE on Windows.
25052505
**
2506
-** See also: cgi, server, winsrv
2506
+** See also: [[cgi]], [[server]], [[winsrv]]
25072507
*/
25082508
void cmd_http(void){
25092509
const char *zIpAddr = 0;
25102510
const char *zNotFound;
25112511
const char *zHost;
@@ -2607,11 +2607,11 @@
26072607
/*
26082608
** Note that the following command is used by ssh:// processing.
26092609
**
26102610
** COMMAND: test-http
26112611
**
2612
-** Works like the http command but gives setup permission to all users.
2612
+** Works like the [[http]] command but gives setup permission to all users.
26132613
**
26142614
** Options:
26152615
** --th-trace trace TH1 execution (for debugging purposes)
26162616
** --usercap CAP user capability string. (Default: "sx")
26172617
**
@@ -2775,11 +2775,11 @@
27752775
** --scgi Accept SCGI rather than HTTP
27762776
** --skin LABEL Use override skin LABEL
27772777
** --usepidkey Use saved encryption key from parent process. This is
27782778
** only necessary when using SEE on Windows.
27792779
**
2780
-** See also: cgi, http, winsrv
2780
+** See also: [[cgi]], [[http]], [[winsrv]]
27812781
*/
27822782
void cmd_webserver(void){
27832783
int iPort, mxPort; /* Range of TCP ports allowed */
27842784
const char *zPort; /* Value of the --port option */
27852785
const char *zBrowser; /* Name of web browser program */
27862786
--- src/main.c
+++ src/main.c
@@ -2103,11 +2103,11 @@
2103 ** flag of the http command.
2104 **
2105 ** Most CGI files contain only a "repository:" line. It is uncommon to
2106 ** use any other option.
2107 **
2108 ** See also: http, server, winsrv
2109 */
2110 void cmd_cgi(void){
2111 const char *zFile;
2112 const char *zNotFound = 0;
2113 char **azRedirect = 0; /* List of repositories to redirect to */
@@ -2501,11 +2501,11 @@
2501 ** --skin LABEL Use override skin LABEL
2502 ** --th-trace trace TH1 execution (for debugging purposes)
2503 ** --usepidkey Use saved encryption key from parent process. This is
2504 ** only necessary when using SEE on Windows.
2505 **
2506 ** See also: cgi, server, winsrv
2507 */
2508 void cmd_http(void){
2509 const char *zIpAddr = 0;
2510 const char *zNotFound;
2511 const char *zHost;
@@ -2607,11 +2607,11 @@
2607 /*
2608 ** Note that the following command is used by ssh:// processing.
2609 **
2610 ** COMMAND: test-http
2611 **
2612 ** Works like the http command but gives setup permission to all users.
2613 **
2614 ** Options:
2615 ** --th-trace trace TH1 execution (for debugging purposes)
2616 ** --usercap CAP user capability string. (Default: "sx")
2617 **
@@ -2775,11 +2775,11 @@
2775 ** --scgi Accept SCGI rather than HTTP
2776 ** --skin LABEL Use override skin LABEL
2777 ** --usepidkey Use saved encryption key from parent process. This is
2778 ** only necessary when using SEE on Windows.
2779 **
2780 ** See also: cgi, http, winsrv
2781 */
2782 void cmd_webserver(void){
2783 int iPort, mxPort; /* Range of TCP ports allowed */
2784 const char *zPort; /* Value of the --port option */
2785 const char *zBrowser; /* Name of web browser program */
2786
--- src/main.c
+++ src/main.c
@@ -2103,11 +2103,11 @@
2103 ** flag of the http command.
2104 **
2105 ** Most CGI files contain only a "repository:" line. It is uncommon to
2106 ** use any other option.
2107 **
2108 ** See also: [[http]], [[server]], [[winsrv]]
2109 */
2110 void cmd_cgi(void){
2111 const char *zFile;
2112 const char *zNotFound = 0;
2113 char **azRedirect = 0; /* List of repositories to redirect to */
@@ -2501,11 +2501,11 @@
2501 ** --skin LABEL Use override skin LABEL
2502 ** --th-trace trace TH1 execution (for debugging purposes)
2503 ** --usepidkey Use saved encryption key from parent process. This is
2504 ** only necessary when using SEE on Windows.
2505 **
2506 ** See also: [[cgi]], [[server]], [[winsrv]]
2507 */
2508 void cmd_http(void){
2509 const char *zIpAddr = 0;
2510 const char *zNotFound;
2511 const char *zHost;
@@ -2607,11 +2607,11 @@
2607 /*
2608 ** Note that the following command is used by ssh:// processing.
2609 **
2610 ** COMMAND: test-http
2611 **
2612 ** Works like the [[http]] command but gives setup permission to all users.
2613 **
2614 ** Options:
2615 ** --th-trace trace TH1 execution (for debugging purposes)
2616 ** --usercap CAP user capability string. (Default: "sx")
2617 **
@@ -2775,11 +2775,11 @@
2775 ** --scgi Accept SCGI rather than HTTP
2776 ** --skin LABEL Use override skin LABEL
2777 ** --usepidkey Use saved encryption key from parent process. This is
2778 ** only necessary when using SEE on Windows.
2779 **
2780 ** See also: [[cgi]], [[http]], [[winsrv]]
2781 */
2782 void cmd_webserver(void){
2783 int iPort, mxPort; /* Range of TCP ports allowed */
2784 const char *zPort; /* Value of the --port option */
2785 const char *zBrowser; /* Name of web browser program */
2786
-11
--- src/purge.c
+++ src/purge.c
@@ -507,21 +507,10 @@
507507
**
508508
** COMMON OPTIONS:
509509
**
510510
** --explain Make no changes, but show what would happen.
511511
** --dry-run An alias for --explain
512
-**
513
-** SUMMARY:
514
-** * fossil purge artifacts HASH.. [OPTIONS]
515
-** * fossil purge cat HASH...
516
-** * fossil purge checkins TAGS... [OPTIONS]
517
-** * fossil purge files FILENAME... [OPTIONS]
518
-** * fossil purge list
519
-** * fossil purge obliterate ID...
520
-** * fossil purge tickets NAME... [OPTIONS]
521
-** * fossil purge undo ID
522
-** * fossil purge wiki NAME... [OPTIONS]
523512
*/
524513
void purge_cmd(void){
525514
int purgeFlags = PURGE_MOVETO_GRAVEYARD | PURGE_PRINT_SUMMARY;
526515
const char *zSubcmd;
527516
int n;
528517
--- src/purge.c
+++ src/purge.c
@@ -507,21 +507,10 @@
507 **
508 ** COMMON OPTIONS:
509 **
510 ** --explain Make no changes, but show what would happen.
511 ** --dry-run An alias for --explain
512 **
513 ** SUMMARY:
514 ** * fossil purge artifacts HASH.. [OPTIONS]
515 ** * fossil purge cat HASH...
516 ** * fossil purge checkins TAGS... [OPTIONS]
517 ** * fossil purge files FILENAME... [OPTIONS]
518 ** * fossil purge list
519 ** * fossil purge obliterate ID...
520 ** * fossil purge tickets NAME... [OPTIONS]
521 ** * fossil purge undo ID
522 ** * fossil purge wiki NAME... [OPTIONS]
523 */
524 void purge_cmd(void){
525 int purgeFlags = PURGE_MOVETO_GRAVEYARD | PURGE_PRINT_SUMMARY;
526 const char *zSubcmd;
527 int n;
528
--- src/purge.c
+++ src/purge.c
@@ -507,21 +507,10 @@
507 **
508 ** COMMON OPTIONS:
509 **
510 ** --explain Make no changes, but show what would happen.
511 ** --dry-run An alias for --explain
 
 
 
 
 
 
 
 
 
 
 
512 */
513 void purge_cmd(void){
514 int purgeFlags = PURGE_MOVETO_GRAVEYARD | PURGE_PRINT_SUMMARY;
515 const char *zSubcmd;
516 int n;
517
--- src/rebuild.c
+++ src/rebuild.c
@@ -601,12 +601,10 @@
601601
** --quiet Only show output if there are errors
602602
** --randomize Scan artifacts in a random order
603603
** --stats Show artifact statistics after rebuilding
604604
** --vacuum Run VACUUM on the database after rebuilding
605605
** --wal Set Write-Ahead-Log journalling mode on the database
606
-**
607
-** See also: deconstruct, reconstruct
608606
*/
609607
void rebuild_database(void){
610608
int forceFlag;
611609
int randomizeFlag;
612610
int errCnt = 0;
@@ -1205,12 +1203,10 @@
12051203
** Options:
12061204
** -K|--keep-rid1 Read the filename of the artifact with RID=1 from the
12071205
** file .rid in DIRECTORY.
12081206
** -P|--keep-private Mark the artifacts listed in the file .private in
12091207
** DIRECTORY as private in the new Fossil repository.
1210
-**
1211
-** See also: deconstruct, rebuild
12121208
*/
12131209
void reconstruct_cmd(void) {
12141210
char *zPassword;
12151211
int fKeepPrivate;
12161212
fKeepRid1 = find_option("keep-rid1","K",0)!=0;
@@ -1280,12 +1276,10 @@
12801276
** subdirectories to N.
12811277
** --private Include private artifacts.
12821278
** -P|--keep-private Save the list of private artifacts to the file
12831279
** .private in the DESTINATION directory (implies
12841280
** the --private option).
1285
-**
1286
-** See also: reconstruct, rebuild
12871281
*/
12881282
void deconstruct_cmd(void){
12891283
const char *zPrefixOpt;
12901284
Stmt s;
12911285
int privateFlag;
12921286
--- src/rebuild.c
+++ src/rebuild.c
@@ -601,12 +601,10 @@
601 ** --quiet Only show output if there are errors
602 ** --randomize Scan artifacts in a random order
603 ** --stats Show artifact statistics after rebuilding
604 ** --vacuum Run VACUUM on the database after rebuilding
605 ** --wal Set Write-Ahead-Log journalling mode on the database
606 **
607 ** See also: deconstruct, reconstruct
608 */
609 void rebuild_database(void){
610 int forceFlag;
611 int randomizeFlag;
612 int errCnt = 0;
@@ -1205,12 +1203,10 @@
1205 ** Options:
1206 ** -K|--keep-rid1 Read the filename of the artifact with RID=1 from the
1207 ** file .rid in DIRECTORY.
1208 ** -P|--keep-private Mark the artifacts listed in the file .private in
1209 ** DIRECTORY as private in the new Fossil repository.
1210 **
1211 ** See also: deconstruct, rebuild
1212 */
1213 void reconstruct_cmd(void) {
1214 char *zPassword;
1215 int fKeepPrivate;
1216 fKeepRid1 = find_option("keep-rid1","K",0)!=0;
@@ -1280,12 +1276,10 @@
1280 ** subdirectories to N.
1281 ** --private Include private artifacts.
1282 ** -P|--keep-private Save the list of private artifacts to the file
1283 ** .private in the DESTINATION directory (implies
1284 ** the --private option).
1285 **
1286 ** See also: reconstruct, rebuild
1287 */
1288 void deconstruct_cmd(void){
1289 const char *zPrefixOpt;
1290 Stmt s;
1291 int privateFlag;
1292
--- src/rebuild.c
+++ src/rebuild.c
@@ -601,12 +601,10 @@
601 ** --quiet Only show output if there are errors
602 ** --randomize Scan artifacts in a random order
603 ** --stats Show artifact statistics after rebuilding
604 ** --vacuum Run VACUUM on the database after rebuilding
605 ** --wal Set Write-Ahead-Log journalling mode on the database
 
 
606 */
607 void rebuild_database(void){
608 int forceFlag;
609 int randomizeFlag;
610 int errCnt = 0;
@@ -1205,12 +1203,10 @@
1203 ** Options:
1204 ** -K|--keep-rid1 Read the filename of the artifact with RID=1 from the
1205 ** file .rid in DIRECTORY.
1206 ** -P|--keep-private Mark the artifacts listed in the file .private in
1207 ** DIRECTORY as private in the new Fossil repository.
 
 
1208 */
1209 void reconstruct_cmd(void) {
1210 char *zPassword;
1211 int fKeepPrivate;
1212 fKeepRid1 = find_option("keep-rid1","K",0)!=0;
@@ -1280,12 +1276,10 @@
1276 ** subdirectories to N.
1277 ** --private Include private artifacts.
1278 ** -P|--keep-private Save the list of private artifacts to the file
1279 ** .private in the DESTINATION directory (implies
1280 ** the --private option).
 
 
1281 */
1282 void deconstruct_cmd(void){
1283 const char *zPrefixOpt;
1284 Stmt s;
1285 int privateFlag;
1286
+2
--- src/sha1.c
+++ src/sha1.c
@@ -507,10 +507,12 @@
507507
**
508508
** -h, --dereference If FILE is a symbolic link, compute the hash
509509
** on the object that the link points to. Normally,
510510
** the hash is over the name of the object that
511511
** the link points to.
512
+**
513
+** See also: [[md5sum]], [[sha3sum]]
512514
*/
513515
void sha1sum_test(void){
514516
int i;
515517
Blob in;
516518
Blob cksum;
517519
--- src/sha1.c
+++ src/sha1.c
@@ -507,10 +507,12 @@
507 **
508 ** -h, --dereference If FILE is a symbolic link, compute the hash
509 ** on the object that the link points to. Normally,
510 ** the hash is over the name of the object that
511 ** the link points to.
 
 
512 */
513 void sha1sum_test(void){
514 int i;
515 Blob in;
516 Blob cksum;
517
--- src/sha1.c
+++ src/sha1.c
@@ -507,10 +507,12 @@
507 **
508 ** -h, --dereference If FILE is a symbolic link, compute the hash
509 ** on the object that the link points to. Normally,
510 ** the hash is over the name of the object that
511 ** the link points to.
512 **
513 ** See also: [[md5sum]], [[sha3sum]]
514 */
515 void sha1sum_test(void){
516 int i;
517 Blob in;
518 Blob cksum;
519
+2
--- src/sha3.c
+++ src/sha3.c
@@ -637,10 +637,12 @@
637637
** --512 Compute a SHA3-512 hash
638638
** --size N An N-bit hash. N must be a multiple of 32 between
639639
** 128 and 512.
640640
** -h, --dereference If FILE is a symbolic link, compute the hash on
641641
** the object pointed to, not on the link itself.
642
+**
643
+** See also: [[md5sum]], [[sha1sum]]
642644
*/
643645
void sha3sum_test(void){
644646
int i;
645647
Blob in;
646648
Blob cksum;
647649
--- src/sha3.c
+++ src/sha3.c
@@ -637,10 +637,12 @@
637 ** --512 Compute a SHA3-512 hash
638 ** --size N An N-bit hash. N must be a multiple of 32 between
639 ** 128 and 512.
640 ** -h, --dereference If FILE is a symbolic link, compute the hash on
641 ** the object pointed to, not on the link itself.
 
 
642 */
643 void sha3sum_test(void){
644 int i;
645 Blob in;
646 Blob cksum;
647
--- src/sha3.c
+++ src/sha3.c
@@ -637,10 +637,12 @@
637 ** --512 Compute a SHA3-512 hash
638 ** --size N An N-bit hash. N must be a multiple of 32 between
639 ** 128 and 512.
640 ** -h, --dereference If FILE is a symbolic link, compute the hash on
641 ** the object pointed to, not on the link itself.
642 **
643 ** See also: [[md5sum]], [[sha1sum]]
644 */
645 void sha3sum_test(void){
646 int i;
647 Blob in;
648 Blob cksum;
649
-13
--- src/stash.c
+++ src/stash.c
@@ -559,23 +559,10 @@
559559
** > fossil stash gdiff ?STASHID? ?DIFF-OPTIONS?
560560
**
561561
** Show diffs of the current working directory and what that
562562
** directory would be if STASHID were applied. With gdiff,
563563
** gdiff-command is used instead of internal diff logic.
564
-**
565
-** SUMMARY:
566
-** * fossil stash
567
-** * fossil stash save ?-m|--comment COMMENT? ?FILES...?
568
-** * fossil stash snapshot ?-m|--comment COMMENT? ?FILES...?
569
-** * fossil stash list|ls ?-v|--verbose? ?-W|--width <num>?
570
-** * fossil stash show|cat ?STASHID? ?DIFF-OPTIONS?
571
-** * fossil stash gshow|gcat ?STASHID? ?DIFF-OPTIONS?
572
-** * fossil stash pop
573
-** * fossil stash apply|goto ?STASHID?
574
-** * fossil stash drop|rm ?STASHID? ?-a|--all?
575
-** * fossil stash diff ?STASHID? ?DIFF-OPTIONS?
576
-** * fossil stash gdiff ?STASHID? ?DIFF-OPTIONS?
577564
*/
578565
void stash_cmd(void){
579566
const char *zCmd;
580567
int nCmd;
581568
int stashid = 0;
582569
--- src/stash.c
+++ src/stash.c
@@ -559,23 +559,10 @@
559 ** > fossil stash gdiff ?STASHID? ?DIFF-OPTIONS?
560 **
561 ** Show diffs of the current working directory and what that
562 ** directory would be if STASHID were applied. With gdiff,
563 ** gdiff-command is used instead of internal diff logic.
564 **
565 ** SUMMARY:
566 ** * fossil stash
567 ** * fossil stash save ?-m|--comment COMMENT? ?FILES...?
568 ** * fossil stash snapshot ?-m|--comment COMMENT? ?FILES...?
569 ** * fossil stash list|ls ?-v|--verbose? ?-W|--width <num>?
570 ** * fossil stash show|cat ?STASHID? ?DIFF-OPTIONS?
571 ** * fossil stash gshow|gcat ?STASHID? ?DIFF-OPTIONS?
572 ** * fossil stash pop
573 ** * fossil stash apply|goto ?STASHID?
574 ** * fossil stash drop|rm ?STASHID? ?-a|--all?
575 ** * fossil stash diff ?STASHID? ?DIFF-OPTIONS?
576 ** * fossil stash gdiff ?STASHID? ?DIFF-OPTIONS?
577 */
578 void stash_cmd(void){
579 const char *zCmd;
580 int nCmd;
581 int stashid = 0;
582
--- src/stash.c
+++ src/stash.c
@@ -559,23 +559,10 @@
559 ** > fossil stash gdiff ?STASHID? ?DIFF-OPTIONS?
560 **
561 ** Show diffs of the current working directory and what that
562 ** directory would be if STASHID were applied. With gdiff,
563 ** gdiff-command is used instead of internal diff logic.
 
 
 
 
 
 
 
 
 
 
 
 
 
564 */
565 void stash_cmd(void){
566 const char *zCmd;
567 int nCmd;
568 int stashid = 0;
569
+3 -3
--- src/sync.c
+++ src/sync.c
@@ -217,11 +217,11 @@
217217
** --ssh-command SSH Use SSH as the "ssh" command
218218
** -v|--verbose Additional (debugging) output
219219
** --verily Exchange extra information with the remote
220220
** to ensure no content is overlooked
221221
**
222
-** See also: clone, config pull, push, remote, sync
222
+** See also: [[clone]], [[configure]], [[push]], [[remote-url]], [[sync]]
223223
*/
224224
void pull_cmd(void){
225225
unsigned configFlags = 0;
226226
unsigned syncFlags = SYNC_PULL;
227227
unsigned urlOmitFlags = 0;
@@ -266,11 +266,11 @@
266266
** --ssh-command SSH Use SSH as the "ssh" command
267267
** -v|--verbose Additional (debugging) output
268268
** --verily Exchange extra information with the remote
269269
** to ensure no content is overlooked
270270
**
271
-** See also: clone, config push, pull, remote, sync
271
+** See also: [[clone]], [[configure]], [[pull]], [[remote-url]], [[sync]]
272272
*/
273273
void push_cmd(void){
274274
unsigned configFlags = 0;
275275
unsigned syncFlags = SYNC_PUSH;
276276
process_sync_args(&configFlags, &syncFlags, 0, 0);
@@ -312,11 +312,11 @@
312312
** -u|--unversioned Also sync unversioned content
313313
** -v|--verbose Additional (debugging) output
314314
** --verily Exchange extra information with the remote
315315
** to ensure no content is overlooked
316316
**
317
-** See also: clone, pull, push, remote
317
+** See also: [[clone]], [[pull]], [[push]], [[remote]]
318318
*/
319319
void sync_cmd(void){
320320
unsigned configFlags = 0;
321321
unsigned syncFlags = SYNC_PUSH|SYNC_PULL;
322322
if( find_option("unversioned","u",0)!=0 ){
323323
--- src/sync.c
+++ src/sync.c
@@ -217,11 +217,11 @@
217 ** --ssh-command SSH Use SSH as the "ssh" command
218 ** -v|--verbose Additional (debugging) output
219 ** --verily Exchange extra information with the remote
220 ** to ensure no content is overlooked
221 **
222 ** See also: clone, config pull, push, remote, sync
223 */
224 void pull_cmd(void){
225 unsigned configFlags = 0;
226 unsigned syncFlags = SYNC_PULL;
227 unsigned urlOmitFlags = 0;
@@ -266,11 +266,11 @@
266 ** --ssh-command SSH Use SSH as the "ssh" command
267 ** -v|--verbose Additional (debugging) output
268 ** --verily Exchange extra information with the remote
269 ** to ensure no content is overlooked
270 **
271 ** See also: clone, config push, pull, remote, sync
272 */
273 void push_cmd(void){
274 unsigned configFlags = 0;
275 unsigned syncFlags = SYNC_PUSH;
276 process_sync_args(&configFlags, &syncFlags, 0, 0);
@@ -312,11 +312,11 @@
312 ** -u|--unversioned Also sync unversioned content
313 ** -v|--verbose Additional (debugging) output
314 ** --verily Exchange extra information with the remote
315 ** to ensure no content is overlooked
316 **
317 ** See also: clone, pull, push, remote
318 */
319 void sync_cmd(void){
320 unsigned configFlags = 0;
321 unsigned syncFlags = SYNC_PUSH|SYNC_PULL;
322 if( find_option("unversioned","u",0)!=0 ){
323
--- src/sync.c
+++ src/sync.c
@@ -217,11 +217,11 @@
217 ** --ssh-command SSH Use SSH as the "ssh" command
218 ** -v|--verbose Additional (debugging) output
219 ** --verily Exchange extra information with the remote
220 ** to ensure no content is overlooked
221 **
222 ** See also: [[clone]], [[configure]], [[push]], [[remote-url]], [[sync]]
223 */
224 void pull_cmd(void){
225 unsigned configFlags = 0;
226 unsigned syncFlags = SYNC_PULL;
227 unsigned urlOmitFlags = 0;
@@ -266,11 +266,11 @@
266 ** --ssh-command SSH Use SSH as the "ssh" command
267 ** -v|--verbose Additional (debugging) output
268 ** --verily Exchange extra information with the remote
269 ** to ensure no content is overlooked
270 **
271 ** See also: [[clone]], [[configure]], [[pull]], [[remote-url]], [[sync]]
272 */
273 void push_cmd(void){
274 unsigned configFlags = 0;
275 unsigned syncFlags = SYNC_PUSH;
276 process_sync_args(&configFlags, &syncFlags, 0, 0);
@@ -312,11 +312,11 @@
312 ** -u|--unversioned Also sync unversioned content
313 ** -v|--verbose Additional (debugging) output
314 ** --verily Exchange extra information with the remote
315 ** to ensure no content is overlooked
316 **
317 ** See also: [[clone]], [[pull]], [[push]], [[remote]]
318 */
319 void sync_cmd(void){
320 unsigned configFlags = 0;
321 unsigned syncFlags = SYNC_PUSH|SYNC_PULL;
322 if( find_option("unversioned","u",0)!=0 ){
323
+1 -1
--- src/undo.c
+++ src/undo.c
@@ -462,11 +462,11 @@
462462
** that are undoable.
463463
**
464464
** Options:
465465
** -n|--dry-run do not make changes but show what would be done
466466
**
467
-** See also: commit, status
467
+** See also: [[commit]], [[status]]
468468
*/
469469
void undo_cmd(void){
470470
int isRedo = g.argv[1][0]=='r';
471471
int undo_available;
472472
int dryRunFlag = find_option("dry-run", "n", 0)!=0;
473473
--- src/undo.c
+++ src/undo.c
@@ -462,11 +462,11 @@
462 ** that are undoable.
463 **
464 ** Options:
465 ** -n|--dry-run do not make changes but show what would be done
466 **
467 ** See also: commit, status
468 */
469 void undo_cmd(void){
470 int isRedo = g.argv[1][0]=='r';
471 int undo_available;
472 int dryRunFlag = find_option("dry-run", "n", 0)!=0;
473
--- src/undo.c
+++ src/undo.c
@@ -462,11 +462,11 @@
462 ** that are undoable.
463 **
464 ** Options:
465 ** -n|--dry-run do not make changes but show what would be done
466 **
467 ** See also: [[commit]], [[status]]
468 */
469 void undo_cmd(void){
470 int isRedo = g.argv[1][0]=='r';
471 int undo_available;
472 int dryRunFlag = find_option("dry-run", "n", 0)!=0;
473
+2 -2
--- src/update.c
+++ src/update.c
@@ -108,11 +108,11 @@
108108
** checkin which modified them).
109109
** -K|--keep-merge-files On merge conflict, retain the temporary files
110110
** used for merging, named *-baseline, *-original,
111111
** and *-merge.
112112
**
113
-** See also: revert
113
+** See also: [[revert]]
114114
*/
115115
void update_cmd(void){
116116
int vid; /* Current version */
117117
int tid=0; /* Target version - version we are changing to */
118118
Stmt q;
@@ -786,11 +786,11 @@
786786
**
787787
** Options:
788788
** -r|--revision VERSION Revert given FILE(s) back to given
789789
** VERSION
790790
**
791
-** See also: redo, undo, checkout, update
791
+** See also: [[redo]], [[undo]], [[checkout]], [[update]]
792792
*/
793793
void revert_cmd(void){
794794
Manifest *pCoManifest; /* Manifest of current checkout */
795795
Manifest *pRvManifest; /* Manifest of selected revert version */
796796
ManifestFile *pCoFile; /* File within current checkout manifest */
797797
--- src/update.c
+++ src/update.c
@@ -108,11 +108,11 @@
108 ** checkin which modified them).
109 ** -K|--keep-merge-files On merge conflict, retain the temporary files
110 ** used for merging, named *-baseline, *-original,
111 ** and *-merge.
112 **
113 ** See also: revert
114 */
115 void update_cmd(void){
116 int vid; /* Current version */
117 int tid=0; /* Target version - version we are changing to */
118 Stmt q;
@@ -786,11 +786,11 @@
786 **
787 ** Options:
788 ** -r|--revision VERSION Revert given FILE(s) back to given
789 ** VERSION
790 **
791 ** See also: redo, undo, checkout, update
792 */
793 void revert_cmd(void){
794 Manifest *pCoManifest; /* Manifest of current checkout */
795 Manifest *pRvManifest; /* Manifest of selected revert version */
796 ManifestFile *pCoFile; /* File within current checkout manifest */
797
--- src/update.c
+++ src/update.c
@@ -108,11 +108,11 @@
108 ** checkin which modified them).
109 ** -K|--keep-merge-files On merge conflict, retain the temporary files
110 ** used for merging, named *-baseline, *-original,
111 ** and *-merge.
112 **
113 ** See also: [[revert]]
114 */
115 void update_cmd(void){
116 int vid; /* Current version */
117 int tid=0; /* Target version - version we are changing to */
118 Stmt q;
@@ -786,11 +786,11 @@
786 **
787 ** Options:
788 ** -r|--revision VERSION Revert given FILE(s) back to given
789 ** VERSION
790 **
791 ** See also: [[redo]], [[undo]], [[checkout]], [[update]]
792 */
793 void revert_cmd(void){
794 Manifest *pCoManifest; /* Manifest of current checkout */
795 Manifest *pRvManifest; /* Manifest of selected revert version */
796 ManifestFile *pCoFile; /* File within current checkout manifest */
797

Keyboard Shortcuts

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