Fri, 15 Sep 2017 18:57:50 +0200 hgwebdir: read 'web.template' untrusted
Boris Feld <boris.feld@octobus.net> [Fri, 15 Sep 2017 18:57:50 +0200] rev 34248
hgwebdir: read 'web.template' untrusted The 'hgweb_mod.py' version of this read it untrusted. For consistency we align the two versions of this code.
Fri, 30 Jun 2017 03:45:53 +0200 configitems: register the 'web.templates' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:53 +0200] rev 34247
configitems: register the 'web.templates' config
Fri, 30 Jun 2017 03:45:52 +0200 configitems: register the 'web.style' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:52 +0200] rev 34246
configitems: register the 'web.style' config
Fri, 30 Jun 2017 03:45:51 +0200 configitems: register the 'web.stripes' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:51 +0200] rev 34245
configitems: register the 'web.stripes' config
Fri, 30 Jun 2017 03:45:50 +0200 configitems: register the 'web.refreshinterval' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:50 +0200] rev 34244
configitems: register the 'web.refreshinterval' config
Fri, 30 Jun 2017 03:45:49 +0200 configitems: register the 'web.prefix' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:49 +0200] rev 34243
configitems: register the 'web.prefix' config
Fri, 30 Jun 2017 03:45:48 +0200 configitems: register the 'web.port' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:48 +0200] rev 34242
configitems: register the 'web.port' config
Fri, 30 Jun 2017 03:45:47 +0200 configitems: register the 'web.ipv6' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:47 +0200] rev 34241
configitems: register the 'web.ipv6' config
Fri, 30 Jun 2017 03:45:45 +0200 configitems: register the 'web.errorlog' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:45 +0200] rev 34240
configitems: register the 'web.errorlog' config
Fri, 30 Jun 2017 03:45:44 +0200 configitems: register the 'web.encoding' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:44 +0200] rev 34239
configitems: register the 'web.encoding' config
Fri, 30 Jun 2017 03:45:43 +0200 configitems: register the 'web.description' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:43 +0200] rev 34238
configitems: register the 'web.description' config
Fri, 30 Jun 2017 03:45:42 +0200 configitems: register the 'web.descend' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:42 +0200] rev 34237
configitems: register the 'web.descend' config
Fri, 30 Jun 2017 03:45:41 +0200 configitems: register the 'web.deny_read' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:41 +0200] rev 34236
configitems: register the 'web.deny_read' config
Fri, 30 Jun 2017 03:45:40 +0200 configitems: register the 'web.csp' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:40 +0200] rev 34235
configitems: register the 'web.csp' config
Fri, 30 Jun 2017 03:45:38 +0200 configitems: register the 'web.collapse' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:38 +0200] rev 34234
configitems: register the 'web.collapse' config
Fri, 30 Jun 2017 03:45:37 +0200 configitems: register the 'web.certificate' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:37 +0200] rev 34233
configitems: register the 'web.certificate' config
Fri, 30 Jun 2017 03:45:36 +0200 configitems: register the 'web.cacerts' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:36 +0200] rev 34232
configitems: register the 'web.cacerts' config
Fri, 30 Jun 2017 03:45:35 +0200 configitems: register the 'web.baseurl' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:35 +0200] rev 34231
configitems: register the 'web.baseurl' config
Fri, 30 Jun 2017 03:45:34 +0200 configitems: register the 'web.allow_read' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:34 +0200] rev 34230
configitems: register the 'web.allow_read' config
Fri, 30 Jun 2017 03:45:33 +0200 configitems: register the 'web.allow_archive' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:33 +0200] rev 34229
configitems: register the 'web.allow_archive' config
Fri, 30 Jun 2017 03:45:32 +0200 configitems: register the 'web.address' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:32 +0200] rev 34228
configitems: register the 'web.address' config
Fri, 30 Jun 2017 03:45:31 +0200 configitems: register the 'web.accesslog' config
Boris Feld <boris.feld@octobus.net> [Fri, 30 Jun 2017 03:45:31 +0200] rev 34227
configitems: register the 'web.accesslog' config
Fri, 15 Sep 2017 19:21:08 +0200 web: use '_unset' default value for proxy config method
Boris Feld <boris.feld@octobus.net> [Fri, 15 Sep 2017 19:21:08 +0200] rev 34226
web: use '_unset' default value for proxy config method This special value is needed to make sure registered default value are taken in account.
Sat, 16 Sep 2017 11:48:05 -0400 tests: use int() instead of long() in test-pathencode.py
Augie Fackler <raf@durin42.com> [Sat, 16 Sep 2017 11:48:05 -0400] rev 34225
tests: use int() instead of long() in test-pathencode.py
Sat, 16 Sep 2017 11:47:53 -0400 tests: add xrange alias for test-pathencode.py
Augie Fackler <raf@durin42.com> [Sat, 16 Sep 2017 11:47:53 -0400] rev 34224
tests: add xrange alias for test-pathencode.py
Sat, 16 Sep 2017 11:33:16 -0400 python3: another 3 tests whitelisted
Augie Fackler <raf@durin42.com> [Sat, 16 Sep 2017 11:33:16 -0400] rev 34223
python3: another 3 tests whitelisted
Tue, 22 Aug 2017 21:22:34 -0400 repair: reliably obtain bytestr of node ids
Augie Fackler <raf@durin42.com> [Tue, 22 Aug 2017 21:22:34 -0400] rev 34222
repair: reliably obtain bytestr of node ids
Fri, 15 Sep 2017 18:38:36 -0400 bundles: turn nbchanges int into a bytestr using pycompat.bytestr
Augie Fackler <raf@durin42.com> [Fri, 15 Sep 2017 18:38:36 -0400] rev 34221
bundles: turn nbchanges int into a bytestr using pycompat.bytestr Fixes some python 3 failures.
Sat, 16 Sep 2017 11:09:08 -0400 exchange: hit opargs with pycompat.strkwargs before **-ing it
Augie Fackler <raf@durin42.com> [Sat, 16 Sep 2017 11:09:08 -0400] rev 34220
exchange: hit opargs with pycompat.strkwargs before **-ing it Fixes Python 3 problems.
Fri, 15 Sep 2017 23:58:45 +0900 revlog: update signature of dummy addgroup() in bundlerepo and unionrepo
Yuya Nishihara <yuya@tcha.org> [Fri, 15 Sep 2017 23:58:45 +0900] rev 34219
revlog: update signature of dummy addgroup() in bundlerepo and unionrepo Per c8b6ed51386b, 2f5c45fe3a3b and 00e3f909907f.
Sat, 16 Sep 2017 22:55:48 +0900 py3: use 'surrogatepass' error handler to process U+DCxx transparently
Yuya Nishihara <yuya@tcha.org> [Sat, 16 Sep 2017 22:55:48 +0900] rev 34218
py3: use 'surrogatepass' error handler to process U+DCxx transparently It's disallowed by default on Python 3. https://docs.python.org/3/library/codecs.html#error-handlers
Sat, 16 Sep 2017 22:42:19 +0900 py3: don't pass bytes to array.array()
Yuya Nishihara <yuya@tcha.org> [Sat, 16 Sep 2017 22:42:19 +0900] rev 34217
py3: don't pass bytes to array.array()
Sun, 03 Sep 2017 15:54:29 +0900 py3: wrap bytes in encoding.from/toutf8b() with bytestr
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 15:54:29 +0900] rev 34216
py3: wrap bytes in encoding.from/toutf8b() with bytestr
Sun, 03 Sep 2017 17:28:47 +0900 py3: iterate bytes as a byte string in store.lowerencode()
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 17:28:47 +0900] rev 34215
py3: iterate bytes as a byte string in store.lowerencode()
Sun, 03 Sep 2017 17:27:50 +0900 py3: use bytechr() in store._buildlowerencodefun()
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 17:27:50 +0900] rev 34214
py3: use bytechr() in store._buildlowerencodefun()
Sun, 03 Sep 2017 17:26:10 +0900 store: give name to lowerencode function
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 17:26:10 +0900] rev 34213
store: give name to lowerencode function lambda function isn't easy to track in traceback.
Sun, 03 Sep 2017 15:32:45 +0900 py3: iterate bytes as a byte string in dagparser.py
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 15:32:45 +0900] rev 34212
py3: iterate bytes as a byte string in dagparser.py
Sun, 03 Sep 2017 15:28:39 +0900 py3: wrap string constants in dagparser.py with bytestr()
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 15:28:39 +0900] rev 34211
py3: wrap string constants in dagparser.py with bytestr()
Sun, 03 Sep 2017 15:25:50 +0900 py3: drop use of str() in dagparser.py
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 15:25:50 +0900] rev 34210
py3: drop use of str() in dagparser.py
Sun, 03 Sep 2017 15:22:54 +0900 dagparser: fix variable name in error message
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 15:22:54 +0900] rev 34209
dagparser: fix variable name in error message There's no variable named 'type'.
Sun, 03 Sep 2017 17:47:21 +0900 py3: convert function name to bytes in ui.configwith()
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Sep 2017 17:47:21 +0900] rev 34208
py3: convert function name to bytes in ui.configwith()
Wed, 23 Aug 2017 01:23:16 -0400 drawdag: port to python 3
Augie Fackler <raf@durin42.com> [Wed, 23 Aug 2017 01:23:16 -0400] rev 34207
drawdag: port to python 3
Wed, 23 Aug 2017 10:51:26 -0400 drawdag: add a couple of doctests to help with python3 porting
Augie Fackler <raf@durin42.com> [Wed, 23 Aug 2017 10:51:26 -0400] rev 34206
drawdag: add a couple of doctests to help with python3 porting
Wed, 23 Aug 2017 01:24:01 -0400 drawdag: tagsmod.tag() takes a list of names, not a single name
Augie Fackler <raf@durin42.com> [Wed, 23 Aug 2017 01:24:01 -0400] rev 34205
drawdag: tagsmod.tag() takes a list of names, not a single name We were getting lucky on Python 2 since we have only one-byte names, but on Python 3 badness was happening.
Wed, 23 Aug 2017 01:22:59 -0400 bruterebase: port to python 3
Augie Fackler <raf@durin42.com> [Wed, 23 Aug 2017 01:22:59 -0400] rev 34204
bruterebase: port to python 3
Tue, 22 Aug 2017 21:21:13 -0400 exchange: use '%d' % x instead of str(x) to encode ints
Augie Fackler <raf@durin42.com> [Tue, 22 Aug 2017 21:21:13 -0400] rev 34203
exchange: use '%d' % x instead of str(x) to encode ints Recommended by Yuya instead of using pycompat.bytestr() in this case.
Fri, 15 Sep 2017 19:44:32 -0400 posix: always pass a native str to unicodedata.normalize's first arg
Augie Fackler <raf@durin42.com> [Fri, 15 Sep 2017 19:44:32 -0400] rev 34202
posix: always pass a native str to unicodedata.normalize's first arg
Fri, 15 Sep 2017 19:44:05 -0400 posix: use slicing to grab a single byte out of a bytes in HFS+ normcase code
Augie Fackler <raf@durin42.com> [Fri, 15 Sep 2017 19:44:05 -0400] rev 34201
posix: use slicing to grab a single byte out of a bytes in HFS+ normcase code
Fri, 15 Sep 2017 19:43:32 -0400 encoding: ensure getutf8char always returns a bytestr, never an int
Augie Fackler <raf@durin42.com> [Fri, 15 Sep 2017 19:43:32 -0400] rev 34200
encoding: ensure getutf8char always returns a bytestr, never an int
Fri, 15 Sep 2017 19:43:02 -0400 posix: fix HFS+ normcase doctest to produce valid bytes literals in Python 3
Augie Fackler <raf@durin42.com> [Fri, 15 Sep 2017 19:43:02 -0400] rev 34199
posix: fix HFS+ normcase doctest to produce valid bytes literals in Python 3 We were previously getting lucky on Python 2.
Fri, 15 Sep 2017 22:08:25 -0400 tests: add and remove some (glob) markers
Augie Fackler <augie@google.com> [Fri, 15 Sep 2017 22:08:25 -0400] rev 34198
tests: add and remove some (glob) markers I have no idea if these changes are reasonable, but they look like they'd help on the Windows buildbot.
Mon, 18 Sep 2017 11:53:54 -0400 Added signature for changeset 920977f72c7b stable
Augie Fackler <raf@durin42.com> [Mon, 18 Sep 2017 11:53:54 -0400] rev 34197
Added signature for changeset 920977f72c7b
Mon, 18 Sep 2017 11:53:53 -0400 Added tag 4.3.2 for changeset 920977f72c7b stable
Augie Fackler <raf@durin42.com> [Mon, 18 Sep 2017 11:53:53 -0400] rev 34196
Added tag 4.3.2 for changeset 920977f72c7b
Mon, 18 Sep 2017 11:51:41 -0400 merge with i18n stable 4.3.2
Augie Fackler <augie@google.com> [Mon, 18 Sep 2017 11:51:41 -0400] rev 34195
merge with i18n
Mon, 31 Jul 2017 12:18:42 -0300 i18n-pt_BR: synchronized with 850d2ec2cf6a stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 31 Jul 2017 12:18:42 -0300] rev 34194
i18n-pt_BR: synchronized with 850d2ec2cf6a
Fri, 15 Sep 2017 18:57:50 +0200 hgwebdir: read 'web.template' untrusted stable
Boris Feld <boris.feld@octobus.net> [Fri, 15 Sep 2017 18:57:50 +0200] rev 34193
hgwebdir: read 'web.template' untrusted The 'hgweb_mod.py' version of this read it untrusted. For consistency we align the two versions of this code.
Thu, 24 Aug 2017 22:55:56 +0530 uncommit: move fb-extension to core which uncommits a changeset
Pulkit Goyal <7895pulkit@gmail.com> [Thu, 24 Aug 2017 22:55:56 +0530] rev 34192
uncommit: move fb-extension to core which uncommits a changeset uncommit extension in fb-hgext adds a uncommit command which by default uncommits a changeset and move all the changes to the working directory. If file names are passed, uncommit moves the changes from those files to the working directory and left the changeset with remaining committed files. The uncommit extension in fb-hgext does not creates an empty commit like the one in evolve extension unless user has specified ui.alllowemptycommit to True. The test file added is a combination of tests from test-uncommit.t, test-uncommit-merge.t and test-uncommit-bookmark.t from fb-hgext. .. feature:: A new uncommit extension which provides `hg uncommit` using which one can uncommit part or all of the changeset. This command undoes the effect of a local commit, returning the affected files to their uncommitted state. Differential Revision: https://phab.mercurial-scm.org/D529
Wed, 13 Sep 2017 21:15:46 -0700 show: use consistent (and possibly shorter) node lengths
Gregory Szorc <gregory.szorc@gmail.com> [Wed, 13 Sep 2017 21:15:46 -0700] rev 34191
show: use consistent (and possibly shorter) node lengths `hg show` makes heavy use of shortest() to limit the length of the node hash. For the "stack" and "work" views, you are often looking at multiple lines of similar output for "lines" of work. It is visually appeasing for things to vertically align. A naive use of {shortest(node, N)} could result in variable length nodes and for the first character of the description to vary by a column or two. We implement a function to determine the longest shortest prefix for a set of revisions. The new function is used to determine the printed node length for all `hg show` views. .. feature:: show: use consistent node length in views Our previous shortest node length of 5 was arbitrarily chosen. shortest() already does the work of ensuring that a partial node isn't ambiguous with an integer revision, which is our primary risk of a collision for very short nodes. It should be safe to go with the shortest node possible. Existing code is also optimized to handle nodes as short as 4. So, we decrease the minimum hash length from 5 to 4. We also add a test demonstrating that prefix collisions increase the node length. .. feature:: show: decrease minimum displayed hash length from 5 to 4 Differential Revision: https://phab.mercurial-scm.org/D558
Thu, 03 Aug 2017 21:51:34 -0700 show: pass the minimum length for nodes as a template keyword
Gregory Szorc <gregory.szorc@gmail.com> [Thu, 03 Aug 2017 21:51:34 -0700] rev 34190
show: pass the minimum length for nodes as a template keyword This will allow us to make the displayed length configurable and/or dynamic. Differential Revision: https://phab.mercurial-scm.org/D556
Thu, 03 Aug 2017 21:13:27 -0700 cmdutil: allow extra properties to be added to each context
Gregory Szorc <gregory.szorc@gmail.com> [Thu, 03 Aug 2017 21:13:27 -0700] rev 34189
cmdutil: allow extra properties to be added to each context The changeset displayer allows setting extra keywords to be available to the templating layer. This patch adds an argument to displaygraph() to pass a dict of extra properties to be available to every changeset. Differential Revision: https://phab.mercurial-scm.org/D555
(0) -30000 -10000 -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 +10000 tip