Fossil SCM

Merge typo fixes and improvements to built-in documentation from the bv-corrections01 branch.

drh 2024-11-13 11:08 trunk merge
Commit 75c45fd8c3651ed2dfffa73bc7d91566b9a090a06e3f25792e6c38355a3d8cc3
+1 -1
--- src/chat.c
+++ src/chat.c
@@ -1202,11 +1202,11 @@
12021202
**
12031203
** --all Download all chat content. Normally only
12041204
** previously undownloaded content is retrieved.
12051205
** --debug Additional debugging output
12061206
** --out DATABASE Store CHAT table in separate database file
1207
-** DATABASE rather that adding to local clone
1207
+** DATABASE rather than adding to local clone
12081208
** --unsafe Allow the use of unencrypted http://
12091209
**
12101210
** > fossil chat send [ARGUMENTS]
12111211
**
12121212
** This command sends a new message to the chatroom. The message
12131213
--- src/chat.c
+++ src/chat.c
@@ -1202,11 +1202,11 @@
1202 **
1203 ** --all Download all chat content. Normally only
1204 ** previously undownloaded content is retrieved.
1205 ** --debug Additional debugging output
1206 ** --out DATABASE Store CHAT table in separate database file
1207 ** DATABASE rather that adding to local clone
1208 ** --unsafe Allow the use of unencrypted http://
1209 **
1210 ** > fossil chat send [ARGUMENTS]
1211 **
1212 ** This command sends a new message to the chatroom. The message
1213
--- src/chat.c
+++ src/chat.c
@@ -1202,11 +1202,11 @@
1202 **
1203 ** --all Download all chat content. Normally only
1204 ** previously undownloaded content is retrieved.
1205 ** --debug Additional debugging output
1206 ** --out DATABASE Store CHAT table in separate database file
1207 ** DATABASE rather than adding to local clone
1208 ** --unsafe Allow the use of unencrypted http://
1209 **
1210 ** > fossil chat send [ARGUMENTS]
1211 **
1212 ** This command sends a new message to the chatroom. The message
1213
+4 -4
--- src/checkin.c
+++ src/checkin.c
@@ -567,11 +567,11 @@
567567
}
568568
569569
/* Confirm current working directory is within check-out. */
570570
db_must_be_within_tree();
571571
572
- /* Get check-out version. l*/
572
+ /* Get check-out version. */
573573
vid = db_lget_int("checkout", 0);
574574
575575
/* Relative path flag determination is done by a shared function. */
576576
if( determine_cwd_relative_option() ){
577577
flags |= C_RELPATH;
@@ -2318,11 +2318,11 @@
23182318
**
23192319
** A check-in is not permitted to fork unless the --allow-fork option
23202320
** appears. An empty check-in (i.e. with nothing changed) is not
23212321
** allowed unless the --allow-empty option appears. A check-in may not
23222322
** be older than its ancestor unless the --allow-older option appears.
2323
-** If any of files in the check-in appear to contain unresolved merge
2323
+** If any files in the check-in appear to contain unresolved merge
23242324
** conflicts, the check-in will not be allowed unless the
23252325
** --allow-conflict option is present. In addition, the entire
23262326
** check-in process may be aborted if a file contains content that
23272327
** appears to be binary, Unicode text, or text with CR/LF line endings
23282328
** unless the interactive user chooses to proceed. If there is no
@@ -2358,11 +2358,11 @@
23582358
** than relying on file mtimes
23592359
** --ignore-clock-skew If a clock skew is detected, ignore it and
23602360
** behave as if the user had entered 'yes' to
23612361
** the question of whether to proceed despite
23622362
** the skew.
2363
-** --ignore-oversize Do not warning the user about oversized files
2363
+** --ignore-oversize Do not warn the user about oversized files
23642364
** --integrate Close all merged-in branches
23652365
** -m|--comment COMMENT-TEXT Use COMMENT-TEXT as commit comment
23662366
** -M|--message-file FILE Read the commit comment from given file
23672367
** --mimetype MIMETYPE Mimetype of check-in comment
23682368
** -n|--dry-run If given, display instead of run actions
@@ -2560,11 +2560,11 @@
25602560
**
25612561
** If the remote repository sent an avoid-delta-manifests pragma on
25622562
** the autosync above, then also try to avoid deltas, unless the
25632563
** --delta option is specified. The remote repo will send the
25642564
** avoid-delta-manifests pragma if it has its "forbid-delta-manifests"
2565
- ** setting is enabled.
2565
+ ** setting enabled.
25662566
*/
25672567
if( !db_get_boolean("seen-delta-manifest",0)
25682568
|| db_get_boolean("forbid-delta-manifests",0)
25692569
|| g.bAvoidDeltaManifests
25702570
){
25712571
--- src/checkin.c
+++ src/checkin.c
@@ -567,11 +567,11 @@
567 }
568
569 /* Confirm current working directory is within check-out. */
570 db_must_be_within_tree();
571
572 /* Get check-out version. l*/
573 vid = db_lget_int("checkout", 0);
574
575 /* Relative path flag determination is done by a shared function. */
576 if( determine_cwd_relative_option() ){
577 flags |= C_RELPATH;
@@ -2318,11 +2318,11 @@
2318 **
2319 ** A check-in is not permitted to fork unless the --allow-fork option
2320 ** appears. An empty check-in (i.e. with nothing changed) is not
2321 ** allowed unless the --allow-empty option appears. A check-in may not
2322 ** be older than its ancestor unless the --allow-older option appears.
2323 ** If any of files in the check-in appear to contain unresolved merge
2324 ** conflicts, the check-in will not be allowed unless the
2325 ** --allow-conflict option is present. In addition, the entire
2326 ** check-in process may be aborted if a file contains content that
2327 ** appears to be binary, Unicode text, or text with CR/LF line endings
2328 ** unless the interactive user chooses to proceed. If there is no
@@ -2358,11 +2358,11 @@
2358 ** than relying on file mtimes
2359 ** --ignore-clock-skew If a clock skew is detected, ignore it and
2360 ** behave as if the user had entered 'yes' to
2361 ** the question of whether to proceed despite
2362 ** the skew.
2363 ** --ignore-oversize Do not warning the user about oversized files
2364 ** --integrate Close all merged-in branches
2365 ** -m|--comment COMMENT-TEXT Use COMMENT-TEXT as commit comment
2366 ** -M|--message-file FILE Read the commit comment from given file
2367 ** --mimetype MIMETYPE Mimetype of check-in comment
2368 ** -n|--dry-run If given, display instead of run actions
@@ -2560,11 +2560,11 @@
2560 **
2561 ** If the remote repository sent an avoid-delta-manifests pragma on
2562 ** the autosync above, then also try to avoid deltas, unless the
2563 ** --delta option is specified. The remote repo will send the
2564 ** avoid-delta-manifests pragma if it has its "forbid-delta-manifests"
2565 ** setting is enabled.
2566 */
2567 if( !db_get_boolean("seen-delta-manifest",0)
2568 || db_get_boolean("forbid-delta-manifests",0)
2569 || g.bAvoidDeltaManifests
2570 ){
2571
--- src/checkin.c
+++ src/checkin.c
@@ -567,11 +567,11 @@
567 }
568
569 /* Confirm current working directory is within check-out. */
570 db_must_be_within_tree();
571
572 /* Get check-out version. */
573 vid = db_lget_int("checkout", 0);
574
575 /* Relative path flag determination is done by a shared function. */
576 if( determine_cwd_relative_option() ){
577 flags |= C_RELPATH;
@@ -2318,11 +2318,11 @@
2318 **
2319 ** A check-in is not permitted to fork unless the --allow-fork option
2320 ** appears. An empty check-in (i.e. with nothing changed) is not
2321 ** allowed unless the --allow-empty option appears. A check-in may not
2322 ** be older than its ancestor unless the --allow-older option appears.
2323 ** If any files in the check-in appear to contain unresolved merge
2324 ** conflicts, the check-in will not be allowed unless the
2325 ** --allow-conflict option is present. In addition, the entire
2326 ** check-in process may be aborted if a file contains content that
2327 ** appears to be binary, Unicode text, or text with CR/LF line endings
2328 ** unless the interactive user chooses to proceed. If there is no
@@ -2358,11 +2358,11 @@
2358 ** than relying on file mtimes
2359 ** --ignore-clock-skew If a clock skew is detected, ignore it and
2360 ** behave as if the user had entered 'yes' to
2361 ** the question of whether to proceed despite
2362 ** the skew.
2363 ** --ignore-oversize Do not warn the user about oversized files
2364 ** --integrate Close all merged-in branches
2365 ** -m|--comment COMMENT-TEXT Use COMMENT-TEXT as commit comment
2366 ** -M|--message-file FILE Read the commit comment from given file
2367 ** --mimetype MIMETYPE Mimetype of check-in comment
2368 ** -n|--dry-run If given, display instead of run actions
@@ -2560,11 +2560,11 @@
2560 **
2561 ** If the remote repository sent an avoid-delta-manifests pragma on
2562 ** the autosync above, then also try to avoid deltas, unless the
2563 ** --delta option is specified. The remote repo will send the
2564 ** avoid-delta-manifests pragma if it has its "forbid-delta-manifests"
2565 ** setting enabled.
2566 */
2567 if( !db_get_boolean("seen-delta-manifest",0)
2568 || db_get_boolean("forbid-delta-manifests",0)
2569 || g.bAvoidDeltaManifests
2570 ){
2571
+3 -3
--- src/db.c
+++ src/db.c
@@ -4080,11 +4080,11 @@
40804080
** specified then that version is checked out. Otherwise the most recent
40814081
** check-in on the main branch (usually "trunk") is used.
40824082
**
40834083
** REPOSITORY can be the filename for a repository that already exists on the
40844084
** local machine or it can be a URI for a remote repository. If REPOSITORY
4085
-** is a URI in one of the formats recognized by the [[clone]] command, then
4085
+** is a URI in one of the formats recognized by the [[clone]] command, the
40864086
** remote repo is first cloned, then the clone is opened. The clone will be
40874087
** stored in the current directory, or in DIR if the "--repodir DIR" option
40884088
** is used. The name of the clone will be taken from the last term of the URI.
40894089
** For "http:" and "https:" URIs, you can append an extra term to the end of
40904090
** the URI to get any repository name you like. For example:
@@ -5362,11 +5362,11 @@
53625362
}
53635363
53645364
/*
53655365
** Compute a "fingerprint" on the repository. A fingerprint is used
53665366
** to verify that that the repository has not been replaced by a clone
5367
-** of the same repository. More precisely, a fingerprint are used to
5367
+** of the same repository. More precisely, a fingerprint is used to
53685368
** verify that the mapping between SHA3 hashes and RID values is unchanged.
53695369
**
53705370
** The check-out database ("localdb") stores RID values. When associating
53715371
** a check-out database against a repository database, it is useful to verify
53725372
** the fingerprint so that we know tha the RID values in the check-out
@@ -5427,11 +5427,11 @@
54275427
** COMMAND: test-fingerprint
54285428
**
54295429
** Usage: %fossil test-fingerprint ?RCVID?
54305430
**
54315431
** Display the repository fingerprint using the supplied RCVID or
5432
-** using the latest RCVID if not is given on the command line.
5432
+** using the latest RCVID if none is given on the command line.
54335433
** Show both the legacy and the newer version of the fingerprint,
54345434
** and the currently stored fingerprint if there is one.
54355435
*/
54365436
void test_fingerprint(void){
54375437
int rcvid = 0;
54385438
--- src/db.c
+++ src/db.c
@@ -4080,11 +4080,11 @@
4080 ** specified then that version is checked out. Otherwise the most recent
4081 ** check-in on the main branch (usually "trunk") is used.
4082 **
4083 ** REPOSITORY can be the filename for a repository that already exists on the
4084 ** local machine or it can be a URI for a remote repository. If REPOSITORY
4085 ** is a URI in one of the formats recognized by the [[clone]] command, then
4086 ** remote repo is first cloned, then the clone is opened. The clone will be
4087 ** stored in the current directory, or in DIR if the "--repodir DIR" option
4088 ** is used. The name of the clone will be taken from the last term of the URI.
4089 ** For "http:" and "https:" URIs, you can append an extra term to the end of
4090 ** the URI to get any repository name you like. For example:
@@ -5362,11 +5362,11 @@
5362 }
5363
5364 /*
5365 ** Compute a "fingerprint" on the repository. A fingerprint is used
5366 ** to verify that that the repository has not been replaced by a clone
5367 ** of the same repository. More precisely, a fingerprint are used to
5368 ** verify that the mapping between SHA3 hashes and RID values is unchanged.
5369 **
5370 ** The check-out database ("localdb") stores RID values. When associating
5371 ** a check-out database against a repository database, it is useful to verify
5372 ** the fingerprint so that we know tha the RID values in the check-out
@@ -5427,11 +5427,11 @@
5427 ** COMMAND: test-fingerprint
5428 **
5429 ** Usage: %fossil test-fingerprint ?RCVID?
5430 **
5431 ** Display the repository fingerprint using the supplied RCVID or
5432 ** using the latest RCVID if not is given on the command line.
5433 ** Show both the legacy and the newer version of the fingerprint,
5434 ** and the currently stored fingerprint if there is one.
5435 */
5436 void test_fingerprint(void){
5437 int rcvid = 0;
5438
--- src/db.c
+++ src/db.c
@@ -4080,11 +4080,11 @@
4080 ** specified then that version is checked out. Otherwise the most recent
4081 ** check-in on the main branch (usually "trunk") is used.
4082 **
4083 ** REPOSITORY can be the filename for a repository that already exists on the
4084 ** local machine or it can be a URI for a remote repository. If REPOSITORY
4085 ** is a URI in one of the formats recognized by the [[clone]] command, the
4086 ** remote repo is first cloned, then the clone is opened. The clone will be
4087 ** stored in the current directory, or in DIR if the "--repodir DIR" option
4088 ** is used. The name of the clone will be taken from the last term of the URI.
4089 ** For "http:" and "https:" URIs, you can append an extra term to the end of
4090 ** the URI to get any repository name you like. For example:
@@ -5362,11 +5362,11 @@
5362 }
5363
5364 /*
5365 ** Compute a "fingerprint" on the repository. A fingerprint is used
5366 ** to verify that that the repository has not been replaced by a clone
5367 ** of the same repository. More precisely, a fingerprint is used to
5368 ** verify that the mapping between SHA3 hashes and RID values is unchanged.
5369 **
5370 ** The check-out database ("localdb") stores RID values. When associating
5371 ** a check-out database against a repository database, it is useful to verify
5372 ** the fingerprint so that we know tha the RID values in the check-out
@@ -5427,11 +5427,11 @@
5427 ** COMMAND: test-fingerprint
5428 **
5429 ** Usage: %fossil test-fingerprint ?RCVID?
5430 **
5431 ** Display the repository fingerprint using the supplied RCVID or
5432 ** using the latest RCVID if none is given on the command line.
5433 ** Show both the legacy and the newer version of the fingerprint,
5434 ** and the currently stored fingerprint if there is one.
5435 */
5436 void test_fingerprint(void){
5437 int rcvid = 0;
5438
+1 -1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1266,11 +1266,11 @@
12661266
** -n|--linenum Show line numbers
12671267
** -N|--new-file Alias for --verbose
12681268
** --numstat Show only the number of added and deleted lines
12691269
** -y|--side-by-side Side-by-side diff
12701270
** --strip-trailing-cr Strip trailing CR
1271
-** --tcl Tcl-formated output used internally by --tk
1271
+** --tcl Tcl-formatted output used internally by --tk
12721272
** --tclsh PATH Tcl/Tk shell used for --tk (default: "tclsh")
12731273
** --tk Launch a Tcl/Tk GUI for display
12741274
** --to VERSION Select VERSION as target for the diff
12751275
** --undo Diff against the "undo" buffer
12761276
** --unified Unified diff
12771277
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1266,11 +1266,11 @@
1266 ** -n|--linenum Show line numbers
1267 ** -N|--new-file Alias for --verbose
1268 ** --numstat Show only the number of added and deleted lines
1269 ** -y|--side-by-side Side-by-side diff
1270 ** --strip-trailing-cr Strip trailing CR
1271 ** --tcl Tcl-formated output used internally by --tk
1272 ** --tclsh PATH Tcl/Tk shell used for --tk (default: "tclsh")
1273 ** --tk Launch a Tcl/Tk GUI for display
1274 ** --to VERSION Select VERSION as target for the diff
1275 ** --undo Diff against the "undo" buffer
1276 ** --unified Unified diff
1277
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -1266,11 +1266,11 @@
1266 ** -n|--linenum Show line numbers
1267 ** -N|--new-file Alias for --verbose
1268 ** --numstat Show only the number of added and deleted lines
1269 ** -y|--side-by-side Side-by-side diff
1270 ** --strip-trailing-cr Strip trailing CR
1271 ** --tcl Tcl-formatted output used internally by --tk
1272 ** --tclsh PATH Tcl/Tk shell used for --tk (default: "tclsh")
1273 ** --tk Launch a Tcl/Tk GUI for display
1274 ** --to VERSION Select VERSION as target for the diff
1275 ** --undo Diff against the "undo" buffer
1276 ** --unified Unified diff
1277
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2132,11 +2132,11 @@
21322132
s.value ? 'add' : 'remove'
21332133
]('compact');
21342134
Chat.e.inputFields[Chat.e.inputFields.$currentIndex].focus();
21352135
});
21362136
Chat.settings.addListener('edit-ctrl-send',function(s){
2137
- const label = (s.value ? "Ctrl-" : "")+"Enter submits message";
2137
+ const label = (s.value ? "Ctrl-" : "")+"Enter submits message.";
21382138
Chat.e.inputFields.forEach((e)=>{
21392139
const v = e.dataset.placeholder0 + " " +label;
21402140
if(e.isContentEditable) e.dataset.placeholder = v;
21412141
else D.attr(e,'placeholder',v);
21422142
});
21432143
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2132,11 +2132,11 @@
2132 s.value ? 'add' : 'remove'
2133 ]('compact');
2134 Chat.e.inputFields[Chat.e.inputFields.$currentIndex].focus();
2135 });
2136 Chat.settings.addListener('edit-ctrl-send',function(s){
2137 const label = (s.value ? "Ctrl-" : "")+"Enter submits message";
2138 Chat.e.inputFields.forEach((e)=>{
2139 const v = e.dataset.placeholder0 + " " +label;
2140 if(e.isContentEditable) e.dataset.placeholder = v;
2141 else D.attr(e,'placeholder',v);
2142 });
2143
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -2132,11 +2132,11 @@
2132 s.value ? 'add' : 'remove'
2133 ]('compact');
2134 Chat.e.inputFields[Chat.e.inputFields.$currentIndex].focus();
2135 });
2136 Chat.settings.addListener('edit-ctrl-send',function(s){
2137 const label = (s.value ? "Ctrl-" : "")+"Enter submits message.";
2138 Chat.e.inputFields.forEach((e)=>{
2139 const v = e.dataset.placeholder0 + " " +label;
2140 if(e.isContentEditable) e.dataset.placeholder = v;
2141 else D.attr(e,'placeholder',v);
2142 });
2143
--- src/merge.c
+++ src/merge.c
@@ -295,10 +295,13 @@
295295
** Files which are renamed in the merged-in branch will be renamed in
296296
** the current check-out.
297297
**
298298
** If the VERSION argument is omitted, then Fossil attempts to find
299299
** a recent fork on the current branch to merge.
300
+**
301
+** Note that this command does not commit the merge, as that is a
302
+** separate step.
300303
**
301304
** If there are multiple VERSION arguments, then each VERSION is merged
302305
** (or cherrypicked) in the order that they appear on the command-line.
303306
**
304307
** Options:
305308
--- src/merge.c
+++ src/merge.c
@@ -295,10 +295,13 @@
295 ** Files which are renamed in the merged-in branch will be renamed in
296 ** the current check-out.
297 **
298 ** If the VERSION argument is omitted, then Fossil attempts to find
299 ** a recent fork on the current branch to merge.
 
 
 
300 **
301 ** If there are multiple VERSION arguments, then each VERSION is merged
302 ** (or cherrypicked) in the order that they appear on the command-line.
303 **
304 ** Options:
305
--- src/merge.c
+++ src/merge.c
@@ -295,10 +295,13 @@
295 ** Files which are renamed in the merged-in branch will be renamed in
296 ** the current check-out.
297 **
298 ** If the VERSION argument is omitted, then Fossil attempts to find
299 ** a recent fork on the current branch to merge.
300 **
301 ** Note that this command does not commit the merge, as that is a
302 ** separate step.
303 **
304 ** If there are multiple VERSION arguments, then each VERSION is merged
305 ** (or cherrypicked) in the order that they appear on the command-line.
306 **
307 ** Options:
308

Keyboard Shortcuts

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