︙ | | |
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
|
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
-
+
+
+
+
+
+
|
}
if( ((*pSyncFlags) & SYNC_PULL)!=0
&& find_option("share-links",0,0)!=0
){
*pSyncFlags |= SYNC_SHARE_LINKS;
}
/* Undocumented option: --transport-command COMMAND
/* Option: --transport-command COMMAND
**
** Causes COMMAND to be run with three arguments in order to talk
** to the server.
**
** COMMAND URL PAYLOAD REPLY
**
** URL is the server name. PAYLOAD is the name of a temporary file
** that will contain the xfer-protocol payload to send to the server.
** REPLY is a temporary filename in which COMMAND should write the
** content of the reply from the server.
**
** CMD is reponsible for HTTP redirects. The following Fossil command
** can be used for CMD to achieve a working sync:
**
** fossil test-httpmsg --xfer
*/
g.zHttpCmd = find_option("transport-command",0,1);
url_proxy_options();
clone_ssh_find_options();
if( !uvOnly ) db_find_and_open_repository(0, 0);
db_open_config(0, 1);
|
︙ | | |
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
|
+
+
|
** --private Pull private branches too
** --project-code CODE Use CODE as the project code
** --proxy PROXY Use the specified HTTP proxy
** -R|--repository REPO Local repository to pull into
** --share-links Share links to mirror repos
** --ssl-identity FILE Local SSL credentials, if requested by remote
** --ssh-command SSH Use SSH as the "ssh" command
** --transport-command CMD Use external command CMD to move messages
** between client and server
** -v|--verbose Additional (debugging) output
** --verily Exchange extra information with the remote
** to ensure no content is overlooked
**
** See also: [[clone]], [[config]], [[push]], [[remote]], [[sync]]
*/
void pull_cmd(void){
|
︙ | | |
366
367
368
369
370
371
372
373
374
375
376
377
378
379
|
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
|
+
+
|
** --no-http-compression Do not compress HTTP traffic
** --once Do not remember URL for subsequent syncs
** --proxy PROXY Use the specified HTTP proxy
** --private Push private branches too
** -R|--repository REPO Local repository to push from
** --ssl-identity FILE Local SSL credentials, if requested by remote
** --ssh-command SSH Use SSH as the "ssh" command
** --transport-command CMD Use external command CMD to communicate with
** the server
** -v|--verbose Additional (debugging) output
** --verily Exchange extra information with the remote
** to ensure no content is overlooked
**
** See also: [[clone]], [[config]], [[pull]], [[remote]], [[sync]]
*/
void push_cmd(void){
|
︙ | | |
414
415
416
417
418
419
420
421
422
423
424
425
426
427
|
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
|
+
+
|
** --once Do not remember URL for subsequent syncs
** --proxy PROXY Use the specified HTTP proxy
** --private Sync private branches too
** -R|--repository REPO Local repository to sync with
** --share-links Share links to mirror repos
** --ssl-identity FILE Local SSL credentials, if requested by remote
** --ssh-command SSH Use SSH as the "ssh" command
** --transport-command CMD Use external command CMD to move message
** between the client and the server
** -u|--unversioned Also sync unversioned content
** -v|--verbose Additional (debugging) output
** --verily Exchange extra information with the remote
** to ensure no content is overlooked
**
** See also: [[clone]], [[pull]], [[push]], [[remote]]
*/
|
︙ | | |