Fossil SCM
added hook info to sync/push help
Commit
ba5e03444b1f5af9c808ef18769966f84feb331f
Parent
a64b48cb2916d67…
1 file changed
+7
-4
+7
-4
| --- src/sync.c | ||
| +++ src/sync.c | ||
| @@ -165,14 +165,14 @@ | ||
| 165 | 165 | ** The URL specified normally becomes the new "remote-url" used for |
| 166 | 166 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 167 | 167 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 168 | 168 | ** that is not saved. |
| 169 | 169 | ** |
| 170 | -** If configured (<a>setting</a> push-hook-..), the push hook command will be executed | |
| 171 | -** after pushing files to the server. | |
| 170 | +** If configured (<a>setting</a> push-hook-..), the push hook command will be | |
| 171 | +** executed on the server after pushing files. | |
| 172 | 172 | ** |
| 173 | -** See also: <a>clone</a>, <a>pull</a>, <a>sync</a>, <a>remote-url</a> | |
| 173 | +** See also: <a>callhook</a>, <a>clone</a>, <a>pull</a>, <a>sync</a>, <a>remote-url</a> | |
| 174 | 174 | */ |
| 175 | 175 | void push_cmd(void){ |
| 176 | 176 | process_sync_args(); |
| 177 | 177 | client_sync(1,0,0,0,0); |
| 178 | 178 | } |
| @@ -199,11 +199,14 @@ | ||
| 199 | 199 | ** The URL specified normally becomes the new "remote-url" used for |
| 200 | 200 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 201 | 201 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 202 | 202 | ** that is not saved. |
| 203 | 203 | ** |
| 204 | -** See also: <a>clone</a>, <a>push</a>, <a>pull</a>, <a>remote-url</a> | |
| 204 | +** If configured (<a>setting</a> push-hook-..), the push hook command will be | |
| 205 | +** executed on the server after pushing files. | |
| 206 | +** | |
| 207 | +** See also: <a>callhook</a>, <a>clone</a>, <a>push</a>, <a>pull</a>, <a>remote-url</a> | |
| 205 | 208 | */ |
| 206 | 209 | void sync_cmd(void){ |
| 207 | 210 | int syncFlags = process_sync_args(); |
| 208 | 211 | client_sync(1,1,0,syncFlags,0); |
| 209 | 212 | } |
| 210 | 213 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -165,14 +165,14 @@ | |
| 165 | ** The URL specified normally becomes the new "remote-url" used for |
| 166 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 167 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 168 | ** that is not saved. |
| 169 | ** |
| 170 | ** If configured (<a>setting</a> push-hook-..), the push hook command will be executed |
| 171 | ** after pushing files to the server. |
| 172 | ** |
| 173 | ** See also: <a>clone</a>, <a>pull</a>, <a>sync</a>, <a>remote-url</a> |
| 174 | */ |
| 175 | void push_cmd(void){ |
| 176 | process_sync_args(); |
| 177 | client_sync(1,0,0,0,0); |
| 178 | } |
| @@ -199,11 +199,14 @@ | |
| 199 | ** The URL specified normally becomes the new "remote-url" used for |
| 200 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 201 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 202 | ** that is not saved. |
| 203 | ** |
| 204 | ** See also: <a>clone</a>, <a>push</a>, <a>pull</a>, <a>remote-url</a> |
| 205 | */ |
| 206 | void sync_cmd(void){ |
| 207 | int syncFlags = process_sync_args(); |
| 208 | client_sync(1,1,0,syncFlags,0); |
| 209 | } |
| 210 |
| --- src/sync.c | |
| +++ src/sync.c | |
| @@ -165,14 +165,14 @@ | |
| 165 | ** The URL specified normally becomes the new "remote-url" used for |
| 166 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 167 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 168 | ** that is not saved. |
| 169 | ** |
| 170 | ** If configured (<a>setting</a> push-hook-..), the push hook command will be |
| 171 | ** executed on the server after pushing files. |
| 172 | ** |
| 173 | ** See also: <a>callhook</a>, <a>clone</a>, <a>pull</a>, <a>sync</a>, <a>remote-url</a> |
| 174 | */ |
| 175 | void push_cmd(void){ |
| 176 | process_sync_args(); |
| 177 | client_sync(1,0,0,0,0); |
| 178 | } |
| @@ -199,11 +199,14 @@ | |
| 199 | ** The URL specified normally becomes the new "remote-url" used for |
| 200 | ** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However, |
| 201 | ** the "--once" command-line option makes the URL a one-time-use URL |
| 202 | ** that is not saved. |
| 203 | ** |
| 204 | ** If configured (<a>setting</a> push-hook-..), the push hook command will be |
| 205 | ** executed on the server after pushing files. |
| 206 | ** |
| 207 | ** See also: <a>callhook</a>, <a>clone</a>, <a>push</a>, <a>pull</a>, <a>remote-url</a> |
| 208 | */ |
| 209 | void sync_cmd(void){ |
| 210 | int syncFlags = process_sync_args(); |
| 211 | client_sync(1,1,0,syncFlags,0); |
| 212 | } |
| 213 |