Fossil SCM
Updated documentation for the "open" command.
Commit
08255208e98bb50072c7a6d24d60124f220578d65e8de09b569f564ca35c319c
Parent
e83d5bad7ada362…
1 file changed
+13
-7
M
src/db.c
+13
-7
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3078,18 +3078,24 @@ | ||
| 3078 | 3078 | ** for the repository is created with its root at the current working |
| 3079 | 3079 | ** directory, or at some other directory identified by "--workdir DIR". |
| 3080 | 3080 | ** If VERSION is specified then that version is checked out. Otherwise |
| 3081 | 3081 | ** the most recent check-in on the main branch (usually "trunk") is used. |
| 3082 | 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. | |
| 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 | |
| 3088 | 3093 | ** |
| 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'. | |
| 3091 | 3097 | ** |
| 3092 | 3098 | ** Options: |
| 3093 | 3099 | ** --empty Initialize checkout as being empty, but still connected |
| 3094 | 3100 | ** with the local repository. If you commit this checkout, |
| 3095 | 3101 | ** it will become a new "initial" commit in the repository. |
| 3096 | 3102 |
| --- 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 |