Fossil SCM

Updated documentation for the "open" command.

drh 2020-08-07 21:18 trunk
Commit 08255208e98bb50072c7a6d24d60124f220578d65e8de09b569f564ca35c319c
1 file changed +13 -7
+13 -7
--- src/db.c
+++ src/db.c
@@ -3078,18 +3078,24 @@
30783078
** for the repository is created with its root at the current working
30793079
** directory, or at some other directory identified by "--workdir DIR".
30803080
** If VERSION is specified then that version is checked out. Otherwise
30813081
** the most recent check-in on the main branch (usually "trunk") is used.
30823082
**
3083
-** REPOSITORY is usually a filename for a repository that already exists
3084
-** on the local machine. But REPOSITORY can also be a URI, in which case
3085
-** the URI is first cloned and the clone is opened. The clone will be stored
3086
-** in the current directory, or in an alternative directory specified by
3087
-** the --repodir option.
3083
+** REPOSITORY can be the filename for a repository that already exists on the
3084
+** local machine or it can be a URI for a remote repository. If REPOSITORY
3085
+** is a URI, the remote repo is first cloned, then the clone is opened.
3086
+** The clone will be stored in the current directory, or in an alternative
3087
+** directory specified by the --repodir option. The name of the clone will
3088
+** be taken from the last term of the URI. For http: and https: URIs, you
3089
+** can append an extra term on the end to get any repository name you like.
3090
+** For example:
3091
+**
3092
+** fossil open https://fossil-scm.org/home/new-name
30883093
**
3089
-** No files other than "manifest" and "manifest.uuid" are modified if
3090
-** the --keep option is present.
3094
+** The base URI for cloning is 'https://fossil-scm.org/home'. The extra
3095
+** 'new-name' term means that the cloned repository will be called
3096
+** 'new-name.fossil'.
30913097
**
30923098
** Options:
30933099
** --empty Initialize checkout as being empty, but still connected
30943100
** with the local repository. If you commit this checkout,
30953101
** it will become a new "initial" commit in the repository.
30963102
--- src/db.c
+++ src/db.c
@@ -3078,18 +3078,24 @@
3078 ** for the repository is created with its root at the current working
3079 ** directory, or at some other directory identified by "--workdir DIR".
3080 ** If VERSION is specified then that version is checked out. Otherwise
3081 ** the most recent check-in on the main branch (usually "trunk") is used.
3082 **
3083 ** REPOSITORY is usually a filename for a repository that already exists
3084 ** on the local machine. But REPOSITORY can also be a URI, in which case
3085 ** the URI is first cloned and the clone is opened. The clone will be stored
3086 ** in the current directory, or in an alternative directory specified by
3087 ** the --repodir option.
 
 
 
 
 
3088 **
3089 ** No files other than "manifest" and "manifest.uuid" are modified if
3090 ** the --keep option is present.
 
3091 **
3092 ** Options:
3093 ** --empty Initialize checkout as being empty, but still connected
3094 ** with the local repository. If you commit this checkout,
3095 ** it will become a new "initial" commit in the repository.
3096
--- src/db.c
+++ src/db.c
@@ -3078,18 +3078,24 @@
3078 ** for the repository is created with its root at the current working
3079 ** directory, or at some other directory identified by "--workdir DIR".
3080 ** If VERSION is specified then that version is checked out. Otherwise
3081 ** the most recent check-in on the main branch (usually "trunk") is used.
3082 **
3083 ** REPOSITORY can be the filename for a repository that already exists on the
3084 ** local machine or it can be a URI for a remote repository. If REPOSITORY
3085 ** is a URI, the remote repo is first cloned, then the clone is opened.
3086 ** The clone will be stored in the current directory, or in an alternative
3087 ** directory specified by the --repodir option. The name of the clone will
3088 ** be taken from the last term of the URI. For http: and https: URIs, you
3089 ** can append an extra term on the end to get any repository name you like.
3090 ** For example:
3091 **
3092 ** fossil open https://fossil-scm.org/home/new-name
3093 **
3094 ** The base URI for cloning is 'https://fossil-scm.org/home'. The extra
3095 ** 'new-name' term means that the cloned repository will be called
3096 ** 'new-name.fossil'.
3097 **
3098 ** Options:
3099 ** --empty Initialize checkout as being empty, but still connected
3100 ** with the local repository. If you commit this checkout,
3101 ** it will become a new "initial" commit in the repository.
3102

Keyboard Shortcuts

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