Fossil SCM
Update documentation to "fossil patch" and "fossil ui" to talk about the algorithm used for locating the fossil executable on the remote host.
Commit
d22e2b3817b78104f80fa5d42c0884d9e5b0416419a57fd38d88b1a4167fa563
Parent
a35522f8a425c96…
2 files changed
+7
-3
+6
+7
-3
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -3061,11 +3061,15 @@ | ||
| 3061 | 3061 | ** command. |
| 3062 | 3062 | ** |
| 3063 | 3063 | ** If REPOSITORY begins with a "HOST:" or "USER@HOST:" prefix, then |
| 3064 | 3064 | ** the command is run on the remote host specified and the results are |
| 3065 | 3065 | ** tunneled back to the local machine via SSH. This feature only works for |
| 3066 | -** the "fossil ui" command, not the "fossil server" command. | |
| 3066 | +** the "fossil ui" command, not the "fossil server" command. The name of the | |
| 3067 | +** fossil executable on the remote host is specified by the --fossilcmd option, | |
| 3068 | +** or if there is no --fossilcmd, it first tries "$HOME/bin/fossil" and if | |
| 3069 | +** not found there it searches for any executable named "fossil" on the | |
| 3070 | +** default $PATH set by SSH on the remote. | |
| 3067 | 3071 | ** |
| 3068 | 3072 | ** REPOSITORY may also be a directory (aka folder) that contains one or |
| 3069 | 3073 | ** more repositories with names ending in ".fossil". In this case, a |
| 3070 | 3074 | ** prefix of the URL pathname is used to search the directory for an |
| 3071 | 3075 | ** appropriate repository. To thwart mischief, the pathname in the URL must |
| @@ -3102,12 +3106,12 @@ | ||
| 3102 | 3106 | ** /doc/ckout/... |
| 3103 | 3107 | ** --create Create a new REPOSITORY if it does not already exist |
| 3104 | 3108 | ** --errorlog FILE Append HTTP error messages to FILE |
| 3105 | 3109 | ** --extroot DIR Document root for the /ext extension mechanism |
| 3106 | 3110 | ** --files GLOBLIST Comma-separated list of glob patterns for static files |
| 3107 | -** --fossilcmd PATH Full pathname of the "fossil" executable on the remote | |
| 3108 | -** system when REPOSITORY is remote. Default: "fossil" | |
| 3111 | +** --fossilcmd PATH The pathname of the "fossil" executable on the remote | |
| 3112 | +** system when REPOSITORY is remote. | |
| 3109 | 3113 | ** --localauth Enable automatic login for requests from localhost |
| 3110 | 3114 | ** --localhost Listen on 127.0.0.1 only (always true for "ui") |
| 3111 | 3115 | ** --https Indicates that the input is coming through a reverse |
| 3112 | 3116 | ** proxy that has already translated HTTPS into HTTP. |
| 3113 | 3117 | ** --jsmode MODE Determine how JavaScript is delivered with pages. |
| 3114 | 3118 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -3061,11 +3061,15 @@ | |
| 3061 | ** command. |
| 3062 | ** |
| 3063 | ** If REPOSITORY begins with a "HOST:" or "USER@HOST:" prefix, then |
| 3064 | ** the command is run on the remote host specified and the results are |
| 3065 | ** tunneled back to the local machine via SSH. This feature only works for |
| 3066 | ** the "fossil ui" command, not the "fossil server" command. |
| 3067 | ** |
| 3068 | ** REPOSITORY may also be a directory (aka folder) that contains one or |
| 3069 | ** more repositories with names ending in ".fossil". In this case, a |
| 3070 | ** prefix of the URL pathname is used to search the directory for an |
| 3071 | ** appropriate repository. To thwart mischief, the pathname in the URL must |
| @@ -3102,12 +3106,12 @@ | |
| 3102 | ** /doc/ckout/... |
| 3103 | ** --create Create a new REPOSITORY if it does not already exist |
| 3104 | ** --errorlog FILE Append HTTP error messages to FILE |
| 3105 | ** --extroot DIR Document root for the /ext extension mechanism |
| 3106 | ** --files GLOBLIST Comma-separated list of glob patterns for static files |
| 3107 | ** --fossilcmd PATH Full pathname of the "fossil" executable on the remote |
| 3108 | ** system when REPOSITORY is remote. Default: "fossil" |
| 3109 | ** --localauth Enable automatic login for requests from localhost |
| 3110 | ** --localhost Listen on 127.0.0.1 only (always true for "ui") |
| 3111 | ** --https Indicates that the input is coming through a reverse |
| 3112 | ** proxy that has already translated HTTPS into HTTP. |
| 3113 | ** --jsmode MODE Determine how JavaScript is delivered with pages. |
| 3114 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -3061,11 +3061,15 @@ | |
| 3061 | ** command. |
| 3062 | ** |
| 3063 | ** If REPOSITORY begins with a "HOST:" or "USER@HOST:" prefix, then |
| 3064 | ** the command is run on the remote host specified and the results are |
| 3065 | ** tunneled back to the local machine via SSH. This feature only works for |
| 3066 | ** the "fossil ui" command, not the "fossil server" command. The name of the |
| 3067 | ** fossil executable on the remote host is specified by the --fossilcmd option, |
| 3068 | ** or if there is no --fossilcmd, it first tries "$HOME/bin/fossil" and if |
| 3069 | ** not found there it searches for any executable named "fossil" on the |
| 3070 | ** default $PATH set by SSH on the remote. |
| 3071 | ** |
| 3072 | ** REPOSITORY may also be a directory (aka folder) that contains one or |
| 3073 | ** more repositories with names ending in ".fossil". In this case, a |
| 3074 | ** prefix of the URL pathname is used to search the directory for an |
| 3075 | ** appropriate repository. To thwart mischief, the pathname in the URL must |
| @@ -3102,12 +3106,12 @@ | |
| 3106 | ** /doc/ckout/... |
| 3107 | ** --create Create a new REPOSITORY if it does not already exist |
| 3108 | ** --errorlog FILE Append HTTP error messages to FILE |
| 3109 | ** --extroot DIR Document root for the /ext extension mechanism |
| 3110 | ** --files GLOBLIST Comma-separated list of glob patterns for static files |
| 3111 | ** --fossilcmd PATH The pathname of the "fossil" executable on the remote |
| 3112 | ** system when REPOSITORY is remote. |
| 3113 | ** --localauth Enable automatic login for requests from localhost |
| 3114 | ** --localhost Listen on 127.0.0.1 only (always true for "ui") |
| 3115 | ** --https Indicates that the input is coming through a reverse |
| 3116 | ** proxy that has already translated HTTPS into HTTP. |
| 3117 | ** --jsmode MODE Determine how JavaScript is delivered with pages. |
| 3118 |
+6
| --- src/patch.c | ||
| +++ src/patch.c | ||
| @@ -881,10 +881,16 @@ | ||
| 881 | 881 | ** REMOTE-CHECKOUT is in one of the following formats: |
| 882 | 882 | ** |
| 883 | 883 | ** * DIRECTORY |
| 884 | 884 | ** * HOST:DIRECTORY |
| 885 | 885 | ** * USER@HOST:DIRECTORY |
| 886 | +** | |
| 887 | +** The name of the fossil executable on the remote host is specified | |
| 888 | +** by the --fossilcmd option, or if there is no --fossilcmd, it first | |
| 889 | +** tries "$HOME/bin/fossil" and if not found there it searches for any | |
| 890 | +** executable named "fossil" on the default $PATH set by SSH on the | |
| 891 | +** remote. | |
| 886 | 892 | ** |
| 887 | 893 | ** Command-line options: |
| 888 | 894 | ** |
| 889 | 895 | ** -f|--force Apply the patch even though there are unsaved |
| 890 | 896 | ** changes in the current check-out. Unsaved |
| 891 | 897 |
| --- src/patch.c | |
| +++ src/patch.c | |
| @@ -881,10 +881,16 @@ | |
| 881 | ** REMOTE-CHECKOUT is in one of the following formats: |
| 882 | ** |
| 883 | ** * DIRECTORY |
| 884 | ** * HOST:DIRECTORY |
| 885 | ** * USER@HOST:DIRECTORY |
| 886 | ** |
| 887 | ** Command-line options: |
| 888 | ** |
| 889 | ** -f|--force Apply the patch even though there are unsaved |
| 890 | ** changes in the current check-out. Unsaved |
| 891 |
| --- src/patch.c | |
| +++ src/patch.c | |
| @@ -881,10 +881,16 @@ | |
| 881 | ** REMOTE-CHECKOUT is in one of the following formats: |
| 882 | ** |
| 883 | ** * DIRECTORY |
| 884 | ** * HOST:DIRECTORY |
| 885 | ** * USER@HOST:DIRECTORY |
| 886 | ** |
| 887 | ** The name of the fossil executable on the remote host is specified |
| 888 | ** by the --fossilcmd option, or if there is no --fossilcmd, it first |
| 889 | ** tries "$HOME/bin/fossil" and if not found there it searches for any |
| 890 | ** executable named "fossil" on the default $PATH set by SSH on the |
| 891 | ** remote. |
| 892 | ** |
| 893 | ** Command-line options: |
| 894 | ** |
| 895 | ** -f|--force Apply the patch even though there are unsaved |
| 896 | ** changes in the current check-out. Unsaved |
| 897 |