1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
|
char const *name; /* Name of the setting */
char const *var; /* Internal variable name used by db_set() */
int width; /* Width of display. 0 for boolean values */
char const *def; /* Default value */
};
#endif /* INTERFACE */
struct stControlSettings const ctrlSettings[] = {
{ "auto-captcha", "autocaptcha", 0, "0" },
{ "auto-shun", 0, 0, "1" },
{ "autosync", 0, 0, "0" },
{ "binary-glob", 0, 0, "1" },
{ "clearsign", 0, 0, "0" },
{ "diff-command", 0, 16, "diff" },
{ "dont-push", 0, 0, "0" },
{ "editor", 0, 16, "" },
{ "gdiff-command", 0, 16, "gdiff" },
{ "ignore-glob", 0, 40, "" },
{ "http-port", 0, 16, "8080" },
{ "localauth", 0, 0, "0" },
{ "mtime-changes", 0, 0, "0" },
{ "pgp-command", 0, 32, "gpg --clearsign -o " },
{ "proxy", 0, 32, "off" },
{ "push-hook-cmd", 0, 32, "" },
{ "push-hook-force",
0, 0, "" },
{ "push-hook-pattern-client",
0, 32, "" },
{ "push-hook-pattern-server",
0, 32, "" },
{ "push-hook-privilege",
0, 1, "" },
{ "ssh-command", 0, 32, "" },
{ "web-browser", 0, 32, "" },
{ 0,0,0,0 }
};
/*
** COMMAND: settings
|
|
|
|
|
|
|
|
|
>
|
>
|
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
|
char const *name; /* Name of the setting */
char const *var; /* Internal variable name used by db_set() */
int width; /* Width of display. 0 for boolean values */
char const *def; /* Default value */
};
#endif /* INTERFACE */
struct stControlSettings const ctrlSettings[] = {
{ "auto-captcha", "autocaptcha", 0, "on" },
{ "auto-shun", 0, 0, "on" },
{ "autosync", 0, 0, "on" },
{ "binary-glob", 0, 32, "" },
{ "clearsign", 0, 0, "off" },
{ "diff-command", 0, 16, "" },
{ "dont-push", 0, 0, "off" },
{ "editor", 0, 16, "" },
{ "gdiff-command", 0, 16, "gdiff" },
{ "ignore-glob", 0, 40, "" },
{ "http-port", 0, 16, "8080" },
{ "localauth", 0, 0, "off" },
{ "manifest", 0, 0, "off" },
{ "mtime-changes", 0, 0, "off" },
{ "pgp-command", 0, 32, "gpg --clearsign -o " },
{ "proxy", 0, 32, "off" },
{ "push-hook-cmd", 0, 32, "" },
{ "push-hook-force",
0, 0, "" },
{ "push-hook-pattern-client",
0, 32, "" },
{ "push-hook-pattern-server",
0, 32, "" },
{ "push-hook-privilege",
0, 1, "" },
{ "repo-cksum", 0, 0, "on" },
{ "ssh-command", 0, 32, "" },
{ "web-browser", 0, 32, "" },
{ 0,0,0,0 }
};
/*
** COMMAND: settings
|
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
|
**
** push-hook-force
** if this is set on the client, it will request always
** the hook activation, even if no files where pushed on
** the sync.
** if this is set on the server, it will accept hook
** activiation, even if no files where pushed.
**
** push-hook-pattern-client
** if set, a client push will sent this message to the
** server, to activate the push hook command.
**
** push-hook-pattern-server
** if set, and a client send this pattern at the end of
** a push, the push hook command will be executed. This
** might be a prefix of the pattern, sent by the client.
**
** push-hook-privilege
** if set, the user doing the push needs this privilege
** to trigger the hook. Valid privileges are:
** s (setup), a (admin), i (checkin) or o (checkout)
**
** ssh-command Command used to talk to a remote machine with
** the "ssh://" protocol.
**
** web-browser A shell command used to launch your preferred
** web browser when given a URL as an argument.
** Defaults to "start" on windows, "open" on Mac,
** and "firefox" on Unix.
**
** There is a simple form in the administration gui for these settings:
|
>
>
>
>
>
>
>
|
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
|
**
** push-hook-force
** if this is set on the client, it will request always
** the hook activation, even if no files where pushed on
** the sync.
** if this is set on the server, it will accept hook
** activiation, even if no files where pushed.
** Default: on
**
** push-hook-pattern-client
** if set, a client push will sent this message to the
** server, to activate the push hook command.
** Default: on
**
** push-hook-pattern-server
** if set, and a client send this pattern at the end of
** a push, the push hook command will be executed. This
** might be a prefix of the pattern, sent by the client.
**
** push-hook-privilege
** if set, the user doing the push needs this privilege
** to trigger the hook. Valid privileges are:
** s (setup), a (admin), i (checkin) or o (checkout)
**
** ssh-command Command used to talk to a remote machine with
** the "ssh://" protocol.
**
** repo-cksum Compute checksums over all files in each checkout
** as a double-check of correctness. Defaults to "on".
** Disable on large repositories for a performance
** improvement.
**
** web-browser A shell command used to launch your preferred
** web browser when given a URL as an argument.
** Defaults to "start" on windows, "open" on Mac,
** and "firefox" on Unix.
**
** There is a simple form in the administration gui for these settings:
|