Fossil SCM

added hook info to sync/push help

Ratte 2010-10-23 07:23 StvPrivateHook2
Commit ba5e03444b1f5af9c808ef18769966f84feb331f
1 file changed +7 -4
+7 -4
--- src/sync.c
+++ src/sync.c
@@ -165,14 +165,14 @@
165165
** The URL specified normally becomes the new "remote-url" used for
166166
** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However,
167167
** the "--once" command-line option makes the URL a one-time-use URL
168168
** that is not saved.
169169
**
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.
172172
**
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>
174174
*/
175175
void push_cmd(void){
176176
process_sync_args();
177177
client_sync(1,0,0,0,0);
178178
}
@@ -199,11 +199,14 @@
199199
** The URL specified normally becomes the new "remote-url" used for
200200
** subsequent <a>push</a>, <a>pull</a>, and <a>sync</a> operations. However,
201201
** the "--once" command-line option makes the URL a one-time-use URL
202202
** that is not saved.
203203
**
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>
205208
*/
206209
void sync_cmd(void){
207210
int syncFlags = process_sync_args();
208211
client_sync(1,1,0,syncFlags,0);
209212
}
210213
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button