Commit Graph

34359 Commits

Author SHA1 Message Date
Boris Feld
9ab1fae2b8 configitems: register the annotate diff options 2017-10-11 05:23:45 +02:00
Boris Feld
1d9fc2f4c6 configitems: register the 'convert.cvsps.logencoding' config 2017-10-11 05:42:56 +02:00
Boris Feld
cfd170bf5c configitems: register the 'ui.interface.chunkselector' config 2017-10-11 05:36:10 +02:00
Boris Feld
b09f40c232 configitems: register the 'experimental.archivemetatemplate' config 2017-10-11 05:18:20 +02:00
Boris Feld
103976d6a9 configitems: register the 'rebase.singletransaction' config 2017-10-11 04:57:54 +02:00
Boris Feld
bea8fba132 configitems: register the 'server.bundle*' family of config
All these config use the same function specifying a default value. We need to
register them all at the same time.
2017-10-11 17:51:40 +02:00
Boris Feld
baa18d572d configitems: register the 'web.logourl' config 2017-10-11 04:16:17 +02:00
Boris Feld
8209e13aaa configitems: register the 'web.logoimg' config 2017-10-11 04:16:05 +02:00
Boris Feld
783ea5f54c configitems: register the 'web.labels' config 2017-10-11 04:15:48 +02:00
Boris Feld
da25127b96 configitems: register the 'web.hidden' config 2017-10-11 04:15:37 +02:00
Boris Feld
34bf70b86f configitems: register the 'web.guessmime' config 2017-10-11 04:15:24 +02:00
Boris Feld
c8a7ed3681 configitems: register the 'web.deny_push' config 2017-10-11 04:15:08 +02:00
Boris Feld
4be8c3b528 configitems: register the 'web.contact' config 2017-10-11 04:14:44 +02:00
Boris Feld
c71a63f860 configitems: register the 'web.cache' config 2017-10-11 04:14:33 +02:00
Boris Feld
4d84c5f2d5 configitems: register the 'web.allowzip' config 2017-10-11 04:14:14 +02:00
Boris Feld
088bf5e857 configitems: register the 'web.allow_push' config 2017-10-11 04:14:01 +02:00
Boris Feld
e45e1468d5 configitems: register the 'web.allowpull' config 2017-10-11 04:12:50 +02:00
Boris Feld
dc941fd5a9 configitems: register the 'web.allowgz' config 2017-10-11 04:12:34 +02:00
Boris Feld
0af5173fc6 configitems: register the 'web.allowbz2' config 2017-10-11 04:12:23 +02:00
Boris Feld
ff16b03815 configitems: register the 'email.reply-to' config 2017-10-11 03:54:19 +02:00
Boris Feld
74f545a616 configitems: register the 'email.cc' config 2017-10-11 03:54:05 +02:00
Boris Feld
bffa794209 configitems: register the 'email.bcc' config 2017-10-11 03:53:58 +02:00
Boris Feld
502053e485 configitems: register the 'logtoprocess.uiblocked' config 2017-10-11 03:50:24 +02:00
Boris Feld
185e06d7c6 configitems: register the 'logtoprocess.develwarn' config 2017-10-11 03:50:14 +02:00
Boris Feld
6de7bd7a6d configitems: register the 'logtoprocess.command' config 2017-10-11 03:49:47 +02:00
Boris Feld
c6d40db127 configitems: register the 'logtoprocess.commandfinish' config 2017-10-11 03:49:21 +02:00
Boris Feld
d9578ea92a configitems: register the 'logtoprocess.commandexception' config 2017-10-11 03:49:04 +02:00
Boris Feld
cdcf29ac77 configitems: register the 'pager.pager' config 2017-10-11 03:45:14 +02:00
Boris Feld
64308038dd configitems: register the 'web.maxchanges' config 2017-10-11 03:41:48 +02:00
Boris Feld
308fd61d70 configitems: register the 'web.maxfiles' config 2017-10-11 03:41:01 +02:00
Boris Feld
6ea0289f11 configitems: register the 'web.maxshortchanges' config 2017-10-11 03:39:21 +02:00
Boris Feld
5c68cc40ee configitems: register the 'web.motd' config 2017-10-11 03:36:44 +02:00
Boris Feld
78e86af2e6 configitems: register the 'web.name' config 2017-10-11 03:32:59 +02:00
Boris Feld
176f52eb1f configitems: register the 'web.push_ssl' config 2017-10-11 03:29:09 +02:00
Boris Feld
abce33cdad configitems: register the 'web.view' config 2017-10-11 03:18:04 +02:00
Boris Feld
e4e49aed42 configitems: fix registration for 'blackbox.track' config
Default mutable values could be problematic. Use a lambda that returns the
value instead.

Thanks to martin for catching this bug.
2017-10-11 15:25:57 +02:00
Kevin Bullock
ec53973300 status: copy-edit and improve --terse and --verbose help 2017-10-10 10:27:35 -05:00
Yuya Nishihara
6cc1150344 templater: store revisions as ints so min/max won't compare them as strings
Because a template value has no explicit type (like ancient PHP), ifcontains()
has to coerce the type of the needle. Before, it was always converted to a
string, which meant any container type should be a list/dict of strings.
This no longer works since we've introduced min/max functions.

In order to work around the untyped nature of templater, this patch adds
a type specifier to hybrid dict/list. It isn't named as "valuetype" since
the _hybrid class can also wrap a dict.
2017-09-19 23:13:46 +09:00
Durham Goode
afbe11ee58 fsmonitor: update to match new dirstate refactor
The dirstate was refactored so dirstate._map is now at dirstate._map._map. Same
for _copymap, is not _map.copymap. It seems none of the mercurial tests cover
this stuff, but it was caught by our Facebook extension tests.

Differential Revision: https://phab.mercurial-scm.org/D945
2017-10-09 12:47:22 -07:00
David Demelier
f8643ab014 doc: rename README to README.rst
Many hosting services consider README without extension as plain text. By using
.rst extension, we bring better formatting on many services (e.g. bitbucket).
2017-09-26 08:37:17 +02:00
Boris Feld
b005906aea test: use current user in the multi-user amend scenario
The obsfate template keyword that will be introduced in a later patch
distinguish between current user and other users when displaying the obsfate
users.

Update the test before for clarity.
2017-10-09 08:35:55 +02:00
Boris Feld
fc6eca1146 test: cleanup verbosity variant from fatelog test
Unlike the '{obsfate}' keyword defined in 'hg-evolve', the definition of hg
fatelog in test-obsmarker-template.t is not verbosity dependent. Remove useless
call to fatelog -v and fatelog -q.
2017-10-06 17:05:19 +02:00
Boris Feld
72e6ff1378 test: rename obsfate template alias
We will introduce an obsfate templatekw in the next patch that will conflict
with the obsfate template in the test file, rename the one in test file to
avoid this collision.
2017-10-06 16:36:41 +02:00
Boris Feld
9c89c78d23 obsolete: add a devel.user.obsmarker
In tests, we often want to use a different username in obs-markers without
changing the default user. Add a 'devel.user.obsmarker'.
2017-10-06 16:15:24 +02:00
Paul Morelle
bafe1af11d strip: factor out update target selection
The same algorithm was used in two places: one to find out which commit shall
become the parent of wdir, and the other to prepare the wdir when keeping
changes. Factoring it out prevents inconsistent changes in either occurrence.
2017-10-05 15:11:34 +02:00
Augie Fackler
7bdb9aa337 contrib: add check-code rule banning use of readlink
readlink doesn't always exist, such as on Solaris-derived platforms.

Differential Revision: https://phab.mercurial-scm.org/D1000
2017-10-11 03:48:11 -07:00
Augie Fackler
fa984aa77e tests: use readlink.py instead of readlink
The latter doesn't always exist, such as on Solaris-derived platforms.

Differential Revision: https://phab.mercurial-scm.org/D999
2017-10-10 11:03:14 -04:00
Augie Fackler
5c67bd6e5c tests: use readlink.py instead of readlink
The latter doesn't always exist, such as on Solaris-derived platforms.

Differential Revision: https://phab.mercurial-scm.org/D998
2017-10-10 11:02:53 -04:00
Augie Fackler
ae1354616a tests: use readlink.py instead of readlink
The latter doesn't always exist, such as on Solaris-derived platforms.

Differential Revision: https://phab.mercurial-scm.org/D997
2017-10-10 11:02:40 -04:00
Augie Fackler
7d54ffa7a4 tests: use readlink.py instead of readlink
The latter doesn't always exist, such as on Solaris-derived platforms.

Differential Revision: https://phab.mercurial-scm.org/D996
2017-10-10 11:02:23 -04:00