Fossil SCM

Tweak the sync command help text to clarify that the URL argument may instead be a configured remote name, as suggested in [forum:24c658568a|forum post 24c658568a]. No functional changes.

stephan 2024-07-30 12:44 trunk
Commit d919a33c1126433bb3bae26b6ebc4c56e45506e341b2f7d60999a5b5e0794454
1 file changed +6 -4
+6 -4
--- src/sync.c
+++ src/sync.c
@@ -463,17 +463,19 @@
463463
464464
465465
/*
466466
** COMMAND: sync
467467
**
468
-** Usage: %fossil sync ?URL? ?options?
468
+** Usage: %fossil sync ?REMOTE? ?options?
469469
**
470470
** Synchronize all sharable changes between the local repository and a
471
-** remote repository. Sharable changes include public check-ins and
472
-** edits to wiki pages, tickets, forum posts, and technical notes.
471
+** remote repository, with the remote provided as a URL or a
472
+** configured remote name (see the [[remote]] command). Sharable
473
+** changes include public check-ins and edits to wiki pages, tickets,
474
+** forum posts, and technical notes.
473475
**
474
-** If URL is not specified, then the URL from the most recent clone, push,
476
+** If REMOTE is not specified, then the URL from the most recent clone, push,
475477
** pull, remote, or sync command is used. See "fossil help clone" for
476478
** details on the URL formats.
477479
**
478480
** Options:
479481
** --all Sync with all remotes, not just the default
480482
--- src/sync.c
+++ src/sync.c
@@ -463,17 +463,19 @@
463
464
465 /*
466 ** COMMAND: sync
467 **
468 ** Usage: %fossil sync ?URL? ?options?
469 **
470 ** Synchronize all sharable changes between the local repository and a
471 ** remote repository. Sharable changes include public check-ins and
472 ** edits to wiki pages, tickets, forum posts, and technical notes.
 
 
473 **
474 ** If URL is not specified, then the URL from the most recent clone, push,
475 ** pull, remote, or sync command is used. See "fossil help clone" for
476 ** details on the URL formats.
477 **
478 ** Options:
479 ** --all Sync with all remotes, not just the default
480
--- src/sync.c
+++ src/sync.c
@@ -463,17 +463,19 @@
463
464
465 /*
466 ** COMMAND: sync
467 **
468 ** Usage: %fossil sync ?REMOTE? ?options?
469 **
470 ** Synchronize all sharable changes between the local repository and a
471 ** remote repository, with the remote provided as a URL or a
472 ** configured remote name (see the [[remote]] command). Sharable
473 ** changes include public check-ins and edits to wiki pages, tickets,
474 ** forum posts, and technical notes.
475 **
476 ** If REMOTE is not specified, then the URL from the most recent clone, push,
477 ** pull, remote, or sync command is used. See "fossil help clone" for
478 ** details on the URL formats.
479 **
480 ** Options:
481 ** --all Sync with all remotes, not just the default
482

Keyboard Shortcuts

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