Fossil SCM

Follow-up to [346e45702c]: Remove the (unused) --sync option for the open command, as considering it and overriding local/global/pull-only/push-pull settings gets quite convoluted. Also mention that --force allows to continue if auto-sync fails.

florian 2022-04-25 05:21 trunk
Commit b3ed9d37d5a5813edbc9e7b674c08eb0ceb572ebe35be603c2af52243419bba8
1 file changed +1 -3
+1 -3
--- src/db.c
+++ src/db.c
@@ -3667,11 +3667,11 @@
36673667
** Options:
36683668
** --empty Initialize checkout as being empty, but still connected
36693669
** with the local repository. If you commit this checkout,
36703670
** it will become a new "initial" commit in the repository.
36713671
** -f|--force Continue with the open even if the working directory is
3672
-** not empty.
3672
+** not empty, or if auto-sync fails.
36733673
** --force-missing Force opening a repository with missing content
36743674
** -k|--keep Only modify the manifest and manifest.uuid files
36753675
** --nested Allow opening a repository inside an opened checkout
36763676
** --nosync Do not auto-sync the repository prior to opening even
36773677
** if the autosync setting is on.
@@ -3678,12 +3678,10 @@
36783678
** --repodir DIR If REPOSITORY is a URI that will be cloned, store
36793679
** the clone in DIR rather than in "."
36803680
** --setmtime Set timestamps of all files to match their SCM-side
36813681
** times (the timestamp of the last checkin which modified
36823682
** them).
3683
-** --sync Auto-sync prior to opening even if the autosync setting
3684
-** is off.
36853683
** --verbose If passed a URI then this flag is passed on to the clone
36863684
** operation, otherwise it has no effect.
36873685
** --workdir DIR Use DIR as the working directory instead of ".". The DIR
36883686
** directory is created if it does not exist.
36893687
**
36903688
--- src/db.c
+++ src/db.c
@@ -3667,11 +3667,11 @@
3667 ** Options:
3668 ** --empty Initialize checkout as being empty, but still connected
3669 ** with the local repository. If you commit this checkout,
3670 ** it will become a new "initial" commit in the repository.
3671 ** -f|--force Continue with the open even if the working directory is
3672 ** not empty.
3673 ** --force-missing Force opening a repository with missing content
3674 ** -k|--keep Only modify the manifest and manifest.uuid files
3675 ** --nested Allow opening a repository inside an opened checkout
3676 ** --nosync Do not auto-sync the repository prior to opening even
3677 ** if the autosync setting is on.
@@ -3678,12 +3678,10 @@
3678 ** --repodir DIR If REPOSITORY is a URI that will be cloned, store
3679 ** the clone in DIR rather than in "."
3680 ** --setmtime Set timestamps of all files to match their SCM-side
3681 ** times (the timestamp of the last checkin which modified
3682 ** them).
3683 ** --sync Auto-sync prior to opening even if the autosync setting
3684 ** is off.
3685 ** --verbose If passed a URI then this flag is passed on to the clone
3686 ** operation, otherwise it has no effect.
3687 ** --workdir DIR Use DIR as the working directory instead of ".". The DIR
3688 ** directory is created if it does not exist.
3689 **
3690
--- src/db.c
+++ src/db.c
@@ -3667,11 +3667,11 @@
3667 ** Options:
3668 ** --empty Initialize checkout as being empty, but still connected
3669 ** with the local repository. If you commit this checkout,
3670 ** it will become a new "initial" commit in the repository.
3671 ** -f|--force Continue with the open even if the working directory is
3672 ** not empty, or if auto-sync fails.
3673 ** --force-missing Force opening a repository with missing content
3674 ** -k|--keep Only modify the manifest and manifest.uuid files
3675 ** --nested Allow opening a repository inside an opened checkout
3676 ** --nosync Do not auto-sync the repository prior to opening even
3677 ** if the autosync setting is on.
@@ -3678,12 +3678,10 @@
3678 ** --repodir DIR If REPOSITORY is a URI that will be cloned, store
3679 ** the clone in DIR rather than in "."
3680 ** --setmtime Set timestamps of all files to match their SCM-side
3681 ** times (the timestamp of the last checkin which modified
3682 ** them).
 
 
3683 ** --verbose If passed a URI then this flag is passed on to the clone
3684 ** operation, otherwise it has no effect.
3685 ** --workdir DIR Use DIR as the working directory instead of ".". The DIR
3686 ** directory is created if it does not exist.
3687 **
3688

Keyboard Shortcuts

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