Fossil SCM
Improvements to the help text for the new --reopen option in "fossil open".
Commit
6f566c8438eb9d20a0b9664e92c0aff1d509794a366d3e7467a537c25d05c3d8
Parent
12d31f0733d2fc1…
1 file changed
+5
-3
M
src/db.c
+5
-3
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -4251,22 +4251,24 @@ | ||
| 4251 | 4251 | ** -k|--keep Only modify the manifest file(s) |
| 4252 | 4252 | ** --nested Allow opening a repository inside an opened check-out |
| 4253 | 4253 | ** --nosync Do not auto-sync the repository prior to opening even |
| 4254 | 4254 | ** if the autosync setting is on. |
| 4255 | 4255 | ** --proxy PROXY Use PROXY as http proxy during sync operation |
| 4256 | +** --reopen REPO "Reopen" an existing checkout to use a different | |
| 4257 | +** repository file REPO. Useful to reconnect an existing | |
| 4258 | +** checkout to a repository after the original repository | |
| 4259 | +** file is moved. CAUTION: may lose stash and bisect | |
| 4260 | +** history. | |
| 4256 | 4261 | ** --repodir DIR If REPOSITORY is a URI that will be cloned, store |
| 4257 | 4262 | ** the clone in DIR rather than in "." |
| 4258 | 4263 | ** --setmtime Set timestamps of all files to match their SCM-side |
| 4259 | 4264 | ** times (the timestamp of the last check-in which modified |
| 4260 | 4265 | ** them). |
| 4261 | 4266 | ** --verbose If passed a URI then this flag is passed on to the clone |
| 4262 | 4267 | ** operation, otherwise it has no effect |
| 4263 | 4268 | ** --workdir DIR Use DIR as the working directory instead of ".". The DIR |
| 4264 | 4269 | ** directory is created if it does not exist. |
| 4265 | -** --reopen REPOFILE Changes the repository file used by the current checkout | |
| 4266 | -** to REPOFILE. Use this after moving a checkout's | |
| 4267 | -** repository. This may lose stash and bisect history. | |
| 4268 | 4270 | ** |
| 4269 | 4271 | ** See also: [[close]], [[clone]] |
| 4270 | 4272 | */ |
| 4271 | 4273 | void cmd_open(void){ |
| 4272 | 4274 | int emptyFlag; |
| 4273 | 4275 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -4251,22 +4251,24 @@ | |
| 4251 | ** -k|--keep Only modify the manifest file(s) |
| 4252 | ** --nested Allow opening a repository inside an opened check-out |
| 4253 | ** --nosync Do not auto-sync the repository prior to opening even |
| 4254 | ** if the autosync setting is on. |
| 4255 | ** --proxy PROXY Use PROXY as http proxy during sync operation |
| 4256 | ** --repodir DIR If REPOSITORY is a URI that will be cloned, store |
| 4257 | ** the clone in DIR rather than in "." |
| 4258 | ** --setmtime Set timestamps of all files to match their SCM-side |
| 4259 | ** times (the timestamp of the last check-in which modified |
| 4260 | ** them). |
| 4261 | ** --verbose If passed a URI then this flag is passed on to the clone |
| 4262 | ** operation, otherwise it has no effect |
| 4263 | ** --workdir DIR Use DIR as the working directory instead of ".". The DIR |
| 4264 | ** directory is created if it does not exist. |
| 4265 | ** --reopen REPOFILE Changes the repository file used by the current checkout |
| 4266 | ** to REPOFILE. Use this after moving a checkout's |
| 4267 | ** repository. This may lose stash and bisect history. |
| 4268 | ** |
| 4269 | ** See also: [[close]], [[clone]] |
| 4270 | */ |
| 4271 | void cmd_open(void){ |
| 4272 | int emptyFlag; |
| 4273 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -4251,22 +4251,24 @@ | |
| 4251 | ** -k|--keep Only modify the manifest file(s) |
| 4252 | ** --nested Allow opening a repository inside an opened check-out |
| 4253 | ** --nosync Do not auto-sync the repository prior to opening even |
| 4254 | ** if the autosync setting is on. |
| 4255 | ** --proxy PROXY Use PROXY as http proxy during sync operation |
| 4256 | ** --reopen REPO "Reopen" an existing checkout to use a different |
| 4257 | ** repository file REPO. Useful to reconnect an existing |
| 4258 | ** checkout to a repository after the original repository |
| 4259 | ** file is moved. CAUTION: may lose stash and bisect |
| 4260 | ** history. |
| 4261 | ** --repodir DIR If REPOSITORY is a URI that will be cloned, store |
| 4262 | ** the clone in DIR rather than in "." |
| 4263 | ** --setmtime Set timestamps of all files to match their SCM-side |
| 4264 | ** times (the timestamp of the last check-in which modified |
| 4265 | ** them). |
| 4266 | ** --verbose If passed a URI then this flag is passed on to the clone |
| 4267 | ** operation, otherwise it has no effect |
| 4268 | ** --workdir DIR Use DIR as the working directory instead of ".". The DIR |
| 4269 | ** directory is created if it does not exist. |
| 4270 | ** |
| 4271 | ** See also: [[close]], [[clone]] |
| 4272 | */ |
| 4273 | void cmd_open(void){ |
| 4274 | int emptyFlag; |
| 4275 |