Show More
@@ -73,6 +73,30 b' from mercurial.utils import (' | |||
|
73 | 73 | cmdtable = {} |
|
74 | 74 | command = registrar.command(cmdtable) |
|
75 | 75 | |
|
76 | configtable = {} | |
|
77 | configitem = registrar.configitem(configtable) | |
|
78 | ||
|
79 | # developer config: phabricator.batchsize | |
|
80 | configitem('phabricator', 'batchsize', | |
|
81 | default=12, | |
|
82 | ) | |
|
83 | configitem('phabricator', 'callsign', | |
|
84 | default=None, | |
|
85 | ) | |
|
86 | configitem('phabricator', 'curlcmd', | |
|
87 | default=None, | |
|
88 | ) | |
|
89 | # developer config: phabricator.repophid | |
|
90 | configitem('phabricator', 'repophid', | |
|
91 | default=None, | |
|
92 | ) | |
|
93 | configitem('phabricator', 'url', | |
|
94 | default=None, | |
|
95 | ) | |
|
96 | configitem('phabsend', 'confirm', | |
|
97 | default=False, | |
|
98 | ) | |
|
99 | ||
|
76 | 100 | colortable = { |
|
77 | 101 | 'phabricator.action.created': 'green', |
|
78 | 102 | 'phabricator.action.skipped': 'magenta', |
@@ -750,7 +774,7 b' def querydrev(repo, spec):' | |||
|
750 | 774 | drevs, ancestordrevs = _prefetchdrevs(tree) |
|
751 | 775 | |
|
752 | 776 | # developer config: phabricator.batchsize |
|
753 |
batchsize = repo.ui.configint('phabricator', 'batchsize' |
|
|
777 | batchsize = repo.ui.configint('phabricator', 'batchsize') | |
|
754 | 778 | |
|
755 | 779 | # Prefetch Differential Revisions in batch |
|
756 | 780 | tofetch = set(drevs) |
General Comments 0
You need to be logged in to leave comments.
Login now