Boris Feld
21070510ed
configitems: register the 'exdiff.opts.*' config
2017-10-14 00:33:57 +02:00
Boris Feld
9d80c5624f
configitems: register the 'hostsecurity.*:verifycertsfile' config
2017-10-14 00:30:14 +02:00
Boris Feld
2c9df67473
configitems: register the 'hostsecurity.*:fingerprints' config
2017-10-14 00:29:31 +02:00
Boris Feld
3411c59c2f
configitems: register the 'hostsecurity.*:ciphers' config
2017-10-14 00:28:48 +02:00
Boris Feld
a087914d79
configitems: register the 'hostsecurity.*:minimumprotocol' config
2017-10-14 00:28:13 +02:00
Boris Feld
d3073bb8e8
configitems: register the test 'fakepatchtime.fakenow' config
2017-10-14 00:16:12 +02:00
Boris Feld
3def11be1e
configitems: register the test 'fakedirstatewritetime.fakenow' config
2017-10-14 00:15:37 +02:00
Boris Feld
61d4226f12
configitems: register the 'gpg' arbitraty key section
2017-10-13 23:26:16 +02:00
Boris Feld
c8ced9d060
configitems: register the 'extdata' section
2017-10-13 23:23:48 +02:00
Boris Feld
967247e8ec
configitems: fix registration of extensions config
...
The new 'itemregister' class should be used when loading the extension config.
This was and oversight when itemregister was introduced.
2017-10-13 23:33:31 +02:00
Boris Feld
9c0d9e0f57
configitems: register the test config in 'test-push-race.t'
2017-10-11 23:33:59 +02:00
Boris Feld
2451d10295
configitems: register the test 'ui.ioerrors' config
2017-10-11 04:33:00 +02:00
Boris Feld
d0602bdacc
configitems: register the test 'failafterfinalize.fail' config
2017-10-13 23:53:06 +02:00
Boris Feld
a8b4456e5c
configitems: register the test 'logtoprocess.foo' config
2017-10-13 23:46:37 +02:00
Boris Feld
6af1a238e0
configitems: register the test 'failpush.reason' config
2017-10-13 23:10:49 +02:00
Boris Feld
d38259843c
configitems: register the 'patchbomb.reply-to' config
2017-10-13 23:07:12 +02:00
Boris Feld
489752f86a
configitems: register the 'patchbomb.cc' config
2017-10-13 23:07:01 +02:00
Boris Feld
7234c65233
configitems: register the 'patchbomb.bcc' config
2017-10-13 23:06:40 +02:00
Boris Feld
4c94a47479
configitems: register the 'web.staticurl' config
2017-10-13 23:03:46 +02:00
Boris Feld
25a39ffc75
configitems: register the 'experimental.uncommitondirtywdir' config
2017-10-12 00:38:18 +02:00
Boris Feld
d847182da0
configitems: register the 'largefiles.usercache' config
2017-10-13 22:28:03 +02:00
Boris Feld
d27c61d243
configitems: register the 'largefiles.patterns' config
2017-10-13 22:26:58 +02:00
Boris Feld
db9ee41794
configitems: register the 'largefiles.minsize' config
2017-10-13 22:26:03 +02:00
Boris Feld
c15cf4e6bc
configitem: register the 'notify.changegroup' config
2017-10-13 21:50:43 +02:00
Boris Feld
780b696856
configitem: register the 'notify.outgoing' config
2017-10-13 21:50:32 +02:00
Boris Feld
b51ae612da
configitem: register the 'notify.incoming' config
2017-10-12 00:57:49 +02:00
Boris Feld
14093a3043
configitems: register the 'hgweb-paths' section
2017-10-12 00:44:45 +02:00
Boris Feld
c7b903f5a6
contrib-perf: register the 'parentscount' config item
2017-10-13 21:32:29 +02:00
Boris Feld
e472af62e2
contrib-perf: update the config registration
...
There are various issue with the previous code, all hidden by the try-except
clause. These are fixed now.
2017-10-13 21:31:24 +02:00
Boris Feld
eeada116f6
configitems: register the 'hostfingerprints' section
2017-10-12 00:20:41 +02:00
Boris Feld
a345bd5d76
configitems: register the 'hostsecurity.minimumprotocol' config
2017-10-12 00:19:12 +02:00
Boris Feld
cb6b7ec15b
configitems: register the 'progress.format' config
2017-10-11 22:53:17 +02:00
Boris Feld
a6e5ad0857
configitems: register the 'blackbox.maxfiles' config
2017-10-11 22:51:23 +02:00
Augie Fackler
27aba6c982
hgweb: fix decodevaluefromheaders to always return a bytes value
...
That's more in line with what we want, and we know it's ASCII data
since that's all HTTP technically allows in headers anyway.
Differential Revision: https://phab.mercurial-scm.org/D1112
2017-10-15 00:43:01 -04:00
Augie Fackler
386ad003ae
hgweb: more "headers are native strs" cleanup
...
I'll fix the decodevaluefromheaders function in an upcoming change.
Differential Revision: https://phab.mercurial-scm.org/D1111
2017-10-15 00:42:25 -04:00
Augie Fackler
db6ecaafd2
hgweb: when unpacking args from request form, convert to bytes
...
We assume http-originated values are ASCII, which should be safe based
on the RFC.
Differential Revision: https://phab.mercurial-scm.org/D1110
2017-10-15 00:41:34 -04:00
Augie Fackler
4b3002a912
wireproto: more strkwargs cleanup
...
Differential Revision: https://phab.mercurial-scm.org/D1109
2017-10-15 00:39:53 -04:00
Augie Fackler
22c84078c4
hgweb: more "http headers are native strs" cleanup
...
Differential Revision: https://phab.mercurial-scm.org/D1108
2017-10-15 00:38:33 -04:00
Augie Fackler
4fa42c83ce
wireproto: bounce kwargs to/from bytes/str as needed
...
Differential Revision: https://phab.mercurial-scm.org/D1107
2017-10-15 00:05:43 -04:00
Boris Feld
5068121d4c
configitems: fixup default value of annotate config option
...
It turned out that configbool is used for most of them so the registered
default value was wrong.
2017-10-16 15:12:50 +02:00
Denis Laxalde
ff300063f3
transaction-summary: use a revset to filter obsoletes in reportnewcs()
...
Thanks to Yuya Nishihara for suggesting.
2017-10-16 15:35:08 +02:00
Pulkit Goyal
6845c752e9
releasenotes: add pager support when printing to the ui
...
Differential Revision: https://phab.mercurial-scm.org/D1098
2017-10-15 20:32:10 +05:30
Boris Feld
834dcb3800
configitems: fixup default value of diff config option
...
It turned out that configbool is used for most of them so the registered
default value was wrong.
2017-10-13 22:08:55 +02:00
Boris Feld
2253c06027
devel-warn: add 'warn-' to 'devel.empty-changegroup' config
...
Rename 'devel.empty-changegroup' to 'devel.warn-empty- changegroup' in order
to clarify it controls a warning message.
No alias is installed since the previous configuration option was not
documented.
2017-10-08 21:42:32 +02:00
Augie Fackler
25449b9adb
peer: ensure command names are always ascii bytestrs
...
Differential Revision: https://phab.mercurial-scm.org/D1104
2017-10-15 00:05:00 -04:00
Augie Fackler
aff2a14d65
httppeer: always produce native str header keys and values
...
Differential Revision: https://phab.mercurial-scm.org/D1103
2017-10-15 00:03:31 -04:00
Augie Fackler
f4a2677719
wireproto: use %d to encode int, not %s
...
Differential Revision: https://phab.mercurial-scm.org/D1102
2017-10-15 00:40:07 -04:00
Augie Fackler
29944e3fdf
wireproto: use a proper exception instead of assert False
...
Differential Revision: https://phab.mercurial-scm.org/D1101
2017-10-15 00:06:06 -04:00
Augie Fackler
7914273147
wireproto: use listcomp instead of map()
...
The latter returns a generator object on Python 3, which breaks
various parts of hg that expected a list.
Differential Revision: https://phab.mercurial-scm.org/D1100
2017-10-15 00:39:29 -04:00
Augie Fackler
e90604cb5e
dagutil: use a listcomp instead of a map()
...
In Python 3, the map() returns a generator object instead of a list,
and some parts of hg depend on this being consumable more than once or
sortable in place.
Differential Revision: https://phab.mercurial-scm.org/D1099
2017-10-15 00:37:24 -04:00