Fossil SCM
Clarified the online docs for the "fossil remote REF" command form. It wasn't obvious before that you could give a NAME instead of a URL.
Commit
292ba94e6b7fd96d9d212670e7571c13f0fc526c95ee9cd77b643a08771b3533
Parent
43fb402bfd374f7…
1 file changed
+3
-2
+3
-2
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -394,13 +394,14 @@ | ||
| 394 | 394 | ** > fossil remote off |
| 395 | 395 | ** |
| 396 | 396 | ** Disable the default URL. Use this as a shorthand to prevent |
| 397 | 397 | ** autosync while in airplane mode, for example. |
| 398 | 398 | ** |
| 399 | -** > fossil remote URL | |
| 399 | +** > fossil remote REF | |
| 400 | 400 | ** |
| 401 | -** Make URL the new default URL. The prior default URL is replaced. | |
| 401 | +** Make REF the new default URL. The prior default URL is replaced. | |
| 402 | +** REF can be either an explicit URL or a NAME from a prior "add". | |
| 402 | 403 | */ |
| 403 | 404 | void remote_url_cmd(void){ |
| 404 | 405 | char *zUrl, *zArg; |
| 405 | 406 | int nArg; |
| 406 | 407 | db_find_and_open_repository(0, 0); |
| 407 | 408 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -394,13 +394,14 @@ | |
| 394 | ** > fossil remote off |
| 395 | ** |
| 396 | ** Disable the default URL. Use this as a shorthand to prevent |
| 397 | ** autosync while in airplane mode, for example. |
| 398 | ** |
| 399 | ** > fossil remote URL |
| 400 | ** |
| 401 | ** Make URL the new default URL. The prior default URL is replaced. |
| 402 | */ |
| 403 | void remote_url_cmd(void){ |
| 404 | char *zUrl, *zArg; |
| 405 | int nArg; |
| 406 | db_find_and_open_repository(0, 0); |
| 407 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -394,13 +394,14 @@ | |
| 394 | ** > fossil remote off |
| 395 | ** |
| 396 | ** Disable the default URL. Use this as a shorthand to prevent |
| 397 | ** autosync while in airplane mode, for example. |
| 398 | ** |
| 399 | ** > fossil remote REF |
| 400 | ** |
| 401 | ** Make REF the new default URL. The prior default URL is replaced. |
| 402 | ** REF can be either an explicit URL or a NAME from a prior "add". |
| 403 | */ |
| 404 | void remote_url_cmd(void){ |
| 405 | char *zUrl, *zArg; |
| 406 | int nArg; |
| 407 | db_find_and_open_repository(0, 0); |
| 408 |