Sun, 03 Apr 2016 19:56:59 +0900 tests: alias ui as uimod in test-ui-config
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 19:56:59 +0900] rev 28776
tests: alias ui as uimod in test-ui-config
Sun, 03 Apr 2016 19:52:13 +0900 tests: alias ui as uimod in test-context
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 19:52:13 +0900] rev 28775
tests: alias ui as uimod in test-context
Sun, 03 Apr 2016 19:48:47 +0900 tests: alias ui as uimod in test-ancestor
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 19:48:47 +0900] rev 28774
tests: alias ui as uimod in test-ancestor
Sun, 03 Apr 2016 20:11:41 +0900 tests: sort import lines in tinyproxy.py
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 20:11:41 +0900] rev 28773
tests: sort import lines in tinyproxy.py
Sun, 03 Apr 2016 19:41:00 +0900 tests: sort import lines in failfilemerge.py
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 19:41:00 +0900] rev 28772
tests: sort import lines in failfilemerge.py
Sun, 03 Apr 2016 19:40:05 +0900 tests: sort import lines in dumbhttp.py
Yuya Nishihara <yuya@tcha.org> [Sun, 03 Apr 2016 19:40:05 +0900] rev 28771
tests: sort import lines in dumbhttp.py This series is an attempt to enable import-checker.py for tests/**.py, but it turned out not easy. Since many tests have been ported to absolute_import without the coverage, import-checker.py reports a lot of errors right now. Should we enable import-checker.py without fixing all of them so that we won't get more errors?
Mon, 04 Apr 2016 01:59:57 +0100 chgserver: change random state after fork
Jun Wu <quark@fb.com> [Mon, 04 Apr 2016 01:59:57 +0100] rev 28770
chgserver: change random state after fork Before this patch, extensions expecting a different random state per command will break since the chg request handler will inherit a same random state from the parent daemon process. This patch addresses the issue by calling random.seed() after fork.
Mon, 04 Apr 2016 02:36:05 +0100 chg: make connect debug message less repetitive
Jun Wu <quark@fb.com> [Mon, 04 Apr 2016 02:36:05 +0100] rev 28769
chg: make connect debug message less repetitive Before this patch, "connect to" debug message is printed repeatedly because a previous patch changed how the chg client decides the server is ready to be connected. This patch revises the places we print connect debug messages so they are less repetitive without losing useful information.
Mon, 04 Apr 2016 03:17:59 +0100 chgserver: use relative path at socket.bind
Jun Wu <quark@fb.com> [Mon, 04 Apr 2016 03:17:59 +0100] rev 28768
chgserver: use relative path at socket.bind Before this patch, if the server address is long, the server will fail to listen and throw the error: socket.error: AF_UNIX path too long It is because AF_UNIX path usually has a very short length limit (107 chars on common platforms, see sys/un.h). This patch addresses the issue by using relative path instead. Therefore the directory length does not matter. It helps run tests with chg using a long $TMPDIR.
Mon, 04 Apr 2016 01:10:51 +0100 chgserver: move args copying logic to the correct place
Jun Wu <quark@fb.com> [Mon, 04 Apr 2016 01:10:51 +0100] rev 28767
chgserver: move args copying logic to the correct place A previous patch moved it to an incorrect place. Since dispatch._earlygetopt has side effects on args, we need to move it to the place before _earlygetopt.
Mon, 04 Apr 2016 05:20:40 +0300 py3: use print_function in test-status-inprocess.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 05:20:40 +0300] rev 28766
py3: use print_function in test-status-inprocess.py
Mon, 04 Apr 2016 05:19:35 +0300 py3: use absolute_import in test-status-inprocess.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 05:19:35 +0300] rev 28765
py3: use absolute_import in test-status-inprocess.py
Mon, 04 Apr 2016 05:10:11 +0300 py3: use print_function in test-revlog-ancestry.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 05:10:11 +0300] rev 28764
py3: use print_function in test-revlog-ancestry.py
Mon, 04 Apr 2016 05:09:24 +0300 py3: use absolute_import in test-revlog-ancestry.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 05:09:24 +0300] rev 28763
py3: use absolute_import in test-revlog-ancestry.py
Mon, 04 Apr 2016 04:56:05 +0300 py3: use print_function in test-propertycache.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 04:56:05 +0300] rev 28762
py3: use print_function in test-propertycache.py
Fri, 01 Apr 2016 13:20:47 +0000 hghave: add hg06..hg39
timeless <timeless@mozdev.org> [Fri, 01 Apr 2016 13:20:47 +0000] rev 28761
hghave: add hg06..hg39 hg output varies by version, this helps the hgbook hg 0.6 did not have a version command, so special case it... hg 0.7-0.8 had a version command which returned unknown... hg 0.8 added a --date flag to annotate hg 0.9 had a working version command!
Fri, 01 Apr 2016 13:19:29 +0000 hghave: use checkvers for bzr114
timeless <timeless@mozdev.org> [Fri, 01 Apr 2016 13:19:29 +0000] rev 28760
hghave: use checkvers for bzr114
Fri, 01 Apr 2016 13:04:41 +0000 hghave: replace has_svn13/has_svn15 with checkvers
timeless <timeless@mozdev.org> [Fri, 01 Apr 2016 13:04:41 +0000] rev 28759
hghave: replace has_svn13/has_svn15 with checkvers This would make it possible to easily add a svn14 or svn16 or...
Fri, 01 Apr 2016 13:04:16 +0000 hghave: add checkvers function
timeless <timeless@mozdev.org> [Fri, 01 Apr 2016 13:04:16 +0000] rev 28758
hghave: add checkvers function
Mon, 04 Apr 2016 02:17:36 +0000 hghave: add docstring for check
timeless <timeless@mozdev.org> [Mon, 04 Apr 2016 02:17:36 +0000] rev 28757
hghave: add docstring for check
Fri, 01 Apr 2016 13:19:58 +0000 hghave: update cvs112 description
timeless <timeless@mozdev.org> [Fri, 01 Apr 2016 13:19:58 +0000] rev 28756
hghave: update cvs112 description Classic cvs stopped at 1.11. There was a beta version 1.12 that never had a final release. CVS NT is a fork which starts with versions numbered 2.0+. We should have an hg have cvsnt, but to test that requires getting cvsnt, and it's commercial / its older source versions are hard to find.
Mon, 04 Apr 2016 03:16:18 +0300 py3: use absolute_import in test-propertycache.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 03:16:18 +0300] rev 28755
py3: use absolute_import in test-propertycache.py
Mon, 04 Apr 2016 03:14:16 +0300 py3: use print_function in test-parseindex2.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 03:14:16 +0300] rev 28754
py3: use print_function in test-parseindex2.py
Mon, 04 Apr 2016 03:06:33 +0300 py3: use absolute_import in test-parseindex2.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 03:06:33 +0300] rev 28753
py3: use absolute_import in test-parseindex2.py
Mon, 04 Apr 2016 03:04:08 +0300 py3: use print_function in test-minirst.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 03:04:08 +0300] rev 28752
py3: use print_function in test-minirst.py
Mon, 04 Apr 2016 03:00:43 +0300 py3: use absolute_import in test-minirst.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 03:00:43 +0300] rev 28751
py3: use absolute_import in test-minirst.py
Mon, 04 Apr 2016 02:58:53 +0300 py3: use print_function in test-hybridencode.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 02:58:53 +0300] rev 28750
py3: use print_function in test-hybridencode.py
Mon, 04 Apr 2016 01:33:08 +0300 py3: use absolute_import in test-hybridencode.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 01:33:08 +0300] rev 28749
py3: use absolute_import in test-hybridencode.py
Mon, 04 Apr 2016 01:31:21 +0300 py3: use print_function in test-hgweb-auth.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 01:31:21 +0300] rev 28748
py3: use print_function in test-hgweb-auth.py
Mon, 04 Apr 2016 00:55:36 +0300 py3: use absolute_import in test-hgweb-auth.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 00:55:36 +0300] rev 28747
py3: use absolute_import in test-hgweb-auth.py
Mon, 04 Apr 2016 00:29:03 +0300 py3: use print_function in test-hg-parseurl.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 00:29:03 +0300] rev 28746
py3: use print_function in test-hg-parseurl.py
Mon, 04 Apr 2016 00:27:04 +0300 py3: use absolute_import in test-hg-parseurl.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 00:27:04 +0300] rev 28745
py3: use absolute_import in test-hg-parseurl.py
Mon, 04 Apr 2016 00:17:11 +0300 py3: use print_function in test-filelog.py
Robert Stanca <robert.stanca7@gmail.com> [Mon, 04 Apr 2016 00:17:11 +0300] rev 28744
py3: use print_function in test-filelog.py
Sun, 03 Apr 2016 17:10:12 +0300 py3: use absolute_import in test-filelog.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 17:10:12 +0300] rev 28743
py3: use absolute_import in test-filelog.py
Sun, 03 Apr 2016 17:06:40 +0300 py3: use print_function in test-filecache.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 17:06:40 +0300] rev 28742
py3: use print_function in test-filecache.py
Sun, 03 Apr 2016 17:01:07 +0300 py3: use absolute_import in test-filecache.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 17:01:07 +0300] rev 28741
py3: use absolute_import in test-filecache.py
Sun, 03 Apr 2016 16:58:43 +0300 py3: use print_function in test-duplicateoptions.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 16:58:43 +0300] rev 28740
py3: use print_function in test-duplicateoptions.py
Sun, 03 Apr 2016 16:56:15 +0300 py3: use absolute_import in test-duplicateoptions.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 16:56:15 +0300] rev 28739
py3: use absolute_import in test-duplicateoptions.py
Sun, 03 Apr 2016 16:34:55 +0300 py3: lexicographical order imports and print_function in test-context.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 16:34:55 +0300] rev 28738
py3: lexicographical order imports and print_function in test-context.py
Sun, 03 Apr 2016 08:26:57 +0100 pypy: fix overspecific test checks
Maciej Fijalkowski <fijall@gmail.com> [Sun, 03 Apr 2016 08:26:57 +0100] rev 28737
pypy: fix overspecific test checks Those tests check a bit too specific message in ImportError/SyntaxError. Make test-hook and test-bad-extension pass on pypy
Sun, 03 Apr 2016 10:02:58 +0300 tests: lexicographical imports in silenttestrunner.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 10:02:58 +0300] rev 28736
tests: lexicographical imports in silenttestrunner.py
Sun, 03 Apr 2016 06:20:17 +0300 py3: use absolute_import in test-context.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 06:20:17 +0300] rev 28735
py3: use absolute_import in test-context.py
Sun, 03 Apr 2016 06:16:17 +0300 py3: use print_function in test-bdiff.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 06:16:17 +0300] rev 28734
py3: use print_function in test-bdiff.py
Sun, 03 Apr 2016 06:12:18 +0300 py3: use absolute_import in test-bdiff.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 06:12:18 +0300] rev 28733
py3: use absolute_import in test-bdiff.py
Sun, 03 Apr 2016 06:10:52 +0300 py3: use print_function in test-batching.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 06:10:52 +0300] rev 28732
py3: use print_function in test-batching.py
Sun, 03 Apr 2016 06:05:43 +0300 py3: use absolute_import in test-batching.py
Robert Stanca <robert.stanca7@gmail.com> [Sun, 03 Apr 2016 06:05:43 +0300] rev 28731
py3: use absolute_import in test-batching.py
Sat, 02 Apr 2016 18:17:23 +0300 py3: use print_function in silenttestrunner.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 18:17:23 +0300] rev 28730
py3: use print_function in silenttestrunner.py
Sat, 02 Apr 2016 18:16:12 +0300 py3: use absolute_import in silenttestrunner.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 18:16:12 +0300] rev 28729
py3: use absolute_import in silenttestrunner.py
Sat, 02 Apr 2016 18:15:04 +0300 py3: use print_function in hypothesishelpers.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 18:15:04 +0300] rev 28728
py3: use print_function in hypothesishelpers.py
Sat, 02 Apr 2016 18:14:10 +0300 tests: use absolute_import in hypothesishelpers.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 18:14:10 +0300] rev 28727
tests: use absolute_import in hypothesishelpers.py
Sat, 02 Apr 2016 18:12:33 +0300 py3: use print_function in get-with-headers.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 18:12:33 +0300] rev 28726
py3: use print_function in get-with-headers.py
Sat, 02 Apr 2016 17:36:59 +0300 py3: use print_function in generate-working-copy-states.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 17:36:59 +0300] rev 28725
py3: use print_function in generate-working-copy-states.py
Sat, 02 Apr 2016 17:35:02 +0300 py3: use print_function in filterpyflakes.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 17:35:02 +0300] rev 28724
py3: use print_function in filterpyflakes.py
Sat, 02 Apr 2016 17:33:11 +0300 py3: use print_function in test-ancestor.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 17:33:11 +0300] rev 28723
py3: use print_function in test-ancestor.py
Sat, 02 Apr 2016 17:29:38 +0300 py3: use print_function in seq.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 17:29:38 +0300] rev 28722
py3: use print_function in seq.py
Sat, 02 Apr 2016 17:28:35 +0300 py3: use absolute_import in seq.py
Robert Stanca <robert.stanca7@gmail.com> [Sat, 02 Apr 2016 17:28:35 +0300] rev 28721
py3: use absolute_import in seq.py
Mon, 29 Feb 2016 17:02:56 +0900 parser: move parsererrordetail() function from revset module
Yuya Nishihara <yuya@tcha.org> [Mon, 29 Feb 2016 17:02:56 +0900] rev 28720
parser: move parsererrordetail() function from revset module This will be used by common alias functions introduced by future patches.
Fri, 01 Apr 2016 21:18:24 +0800 hgweb: fix links in atom-branches
Anton Shestakov <av6@dwimlabs.net> [Fri, 01 Apr 2016 21:18:24 +0800] rev 28719
hgweb: fix links in atom-branches
Fri, 01 Apr 2016 10:09:34 +0200 revset: prevent infinite recursion on pypy
Maciej Fijalkowski <fijall@gmail.com> [Fri, 01 Apr 2016 10:09:34 +0200] rev 28718
revset: prevent infinite recursion on pypy as explained in the commit, __len__ cannot do [x for x in self] because that can potentially call __len__ again, causing infinite recursion
Thu, 31 Mar 2016 18:38:08 +0200 pypy: fix doctests for pypy optimizations
Maciej Fijalkowski <fijall@gmail.com> [Thu, 31 Mar 2016 18:38:08 +0200] rev 28717
pypy: fix doctests for pypy optimizations PyPy would sometime call __len__ at points where it things preallocating the container makes sense. Change the doctests so they're using generator expressions and not list comprehensions
Sat, 19 Mar 2016 15:31:13 +0100 largefiles: replace invocation of os.path module by vfs in reposetup.py
liscju <piotr.listkiewicz@gmail.com> [Sat, 19 Mar 2016 15:31:13 +0100] rev 28716
largefiles: replace invocation of os.path module by vfs in reposetup.py This commit is part of bigger effort described in 'Windows UTF-8' plan.
Sat, 19 Mar 2016 14:50:40 +0100 largefiles: replace invocation of os.path module by vfs in overrides.py
liscju <piotr.listkiewicz@gmail.com> [Sat, 19 Mar 2016 14:50:40 +0100] rev 28715
largefiles: replace invocation of os.path module by vfs in overrides.py This commit is part of bigger effort described in 'Windows UTF-8' plan. It is not changing all invocations but the ones where change is obviously correct and doesn't require complicated changes.
Wed, 23 Mar 2016 08:55:22 +0100 bundle: warn when update to revision existing only in a bundle (issue5004)
liscju <piotr.listkiewicz@gmail.com> [Wed, 23 Mar 2016 08:55:22 +0100] rev 28714
bundle: warn when update to revision existing only in a bundle (issue5004) Now its done silently, so unless user really knows what he is doing will be suprised to find that after update 'hg status' doesn't work. This commit makes also merge operation warns about missing parent when revision to merge exists only in the bundle.
Wed, 30 Mar 2016 21:54:26 +0200 tests: fix builtin module test on pypy
Maciej Fijalkowski <fijall@gmail.com> [Wed, 30 Mar 2016 21:54:26 +0200] rev 28713
tests: fix builtin module test on pypy On pypy datetime and cProfile are modules written in Python, not in C. For the purpose of this test, just list them explicitely as builtins, which silences warnings about them being imported before stdlib modules.
Thu, 31 Mar 2016 15:37:21 +0800 hgweb: generate last change date for an empty atom-bookmarks feed (issue5022)
Anton Shestakov <av6@dwimlabs.net> [Thu, 31 Mar 2016 15:37:21 +0800] rev 28712
hgweb: generate last change date for an empty atom-bookmarks feed (issue5022) RFC 4287 states that atom feeds must have an <updated> element, so let's add one even when repo doesn't have a single bookmark.
Thu, 31 Mar 2016 15:22:06 +0800 hgweb: sort bookmarks in revlog order of their nodes
Anton Shestakov <av6@dwimlabs.net> [Thu, 31 Mar 2016 15:22:06 +0800] rev 28711
hgweb: sort bookmarks in revlog order of their nodes Changes, branches and tags are already in revlog order on /summary, /branches and /tags, let's now make bookmarks be sorted by the same principle. It's more helpful to show more "recent" bookmarks on top. This will affect /bookmarks page in all styles, including atom, rss and raw, and also /summary page. Bookmarks are sorted using a (revision number, bookmark name) tuple.
Thu, 31 Mar 2016 14:23:27 +0800 hgweb: sort bookmarks early
Anton Shestakov <av6@dwimlabs.net> [Thu, 31 Mar 2016 14:23:27 +0800] rev 28710
hgweb: sort bookmarks early Let's do the same thing that /tags page does. It gets sorted tags and then if it needs the latest only, it just slices the first item from the list. Since it's a slice and not a min(), it doesn't throw an exception if the list is empty. This fixes HTTP 500 error from issue5022.
Thu, 31 Mar 2016 18:09:09 +0800 hgweb: add parents to json-log (issue5074)
Anton Shestakov <av6@dwimlabs.net> [Thu, 31 Mar 2016 18:09:09 +0800] rev 28709
hgweb: add parents to json-log (issue5074) Entries prepared in webutil.changelistentry() skip showing parents in the trivial case when there's only one parent and it's the previous revision. This doesn't work well for the json-log template, which is supposed to just dump raw data in an easy-to-parse format, so let's provide all parents as another keyword: allparents. Using a lambda function here means that the performance of templates that don't use allparents won't be affected (see 41957e50e109).
Mon, 29 Feb 2016 17:46:06 +0900 revset: make _parsealiasdecl() simply return the original parsed tree
Yuya Nishihara <yuya@tcha.org> [Mon, 29 Feb 2016 17:46:06 +0900] rev 28708
revset: make _parsealiasdecl() simply return the original parsed tree It wasn't necessary to reconstruct the same tuple.
Mon, 29 Feb 2016 16:35:58 +0900 revset: inline isvalidfunc(), getfuncname() and getfuncargs()
Yuya Nishihara <yuya@tcha.org> [Mon, 29 Feb 2016 16:35:58 +0900] rev 28707
revset: inline isvalidfunc(), getfuncname() and getfuncargs() See the previous commit for why. These functions are also trivial.
Mon, 29 Feb 2016 16:32:18 +0900 revset: inline isvalidsymbol() and getsymbol() into _parsealiasdecl()
Yuya Nishihara <yuya@tcha.org> [Mon, 29 Feb 2016 16:32:18 +0900] rev 28706
revset: inline isvalidsymbol() and getsymbol() into _parsealiasdecl() Since I'm going to extract a common alias parser, I want to eliminate dependencies to the revset parsing rules. These functions are trivial, so we can go without them.
Mon, 29 Feb 2016 16:23:09 +0900 revset: remove redundant checks for parsed tree of alias
Yuya Nishihara <yuya@tcha.org> [Mon, 29 Feb 2016 16:23:09 +0900] rev 28705
revset: remove redundant checks for parsed tree of alias If tree is a tuple, it must have at least one element. Also the length of node tuple is guaranteed by the syntax elements. (e.g. 'func' must have 3 items.) This change will help inlining these trivial functions in future patches.
Wed, 30 Mar 2016 08:15:37 +0000 py3: handle iter/iterkeys+iteritems python3 divergence in import-checker
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 08:15:37 +0000] rev 28704
py3: handle iter/iterkeys+iteritems python3 divergence in import-checker
Wed, 30 Mar 2016 04:55:16 +0000 py3: use print_function in import-checker
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 04:55:16 +0000] rev 28703
py3: use print_function in import-checker
Wed, 30 Mar 2016 04:50:19 +0000 py3: use absolute_import in import-checker
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 04:50:19 +0000] rev 28702
py3: use absolute_import in import-checker
Wed, 30 Mar 2016 09:13:47 +0000 run-tests: make _processoutput picky about optional globs
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 09:13:47 +0000] rev 28701
run-tests: make _processoutput picky about optional globs 1ad0ddf8cccc enabled lines that were not matched to be found later in cases of jitter. Unfortunately, in this model an optional line would always jitter to the end when it is not present. That is not ideal. It would be possible to do better, by queuing all writes until the end in case an optional line jitters, but for now, it is simpler to assume optional lines have a fixed place in the stream.
Wed, 30 Mar 2016 07:24:51 +0000 py24: remove check-code py24 notation
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 07:24:51 +0000] rev 28700
py24: remove check-code py24 notation We require python2.6+
Wed, 30 Mar 2016 08:02:34 +0000 py3: convert hghave output to text
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 08:02:34 +0000] rev 28699
py3: convert hghave output to text Before this, Python3 generated: b'skipped: unknown feature: not-py3k\n'
Wed, 30 Mar 2016 05:26:51 +0000 py3: convert prereq bytes to string in run-tests
timeless <timeless@mozdev.org> [Wed, 30 Mar 2016 05:26:51 +0000] rev 28698
py3: convert prereq bytes to string in run-tests Without this, run-tests would generate: WARNING: Did not find prerequisite tool: b'python3.5'
Mon, 28 Mar 2016 12:50:56 -0700 record: deprecate the extension
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 28 Mar 2016 12:50:56 -0700] rev 28697
record: deprecate the extension The feature has been moved into core behind the -i flag. We can safely deprecated the extension and point people at the --interactive flag in core.
Wed, 30 Mar 2016 02:10:44 +0900 templater: use templatefunc to mark a function as template function
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Mar 2016 02:10:44 +0900] rev 28696
templater: use templatefunc to mark a function as template function Using decorator can localize changes for adding (or removing) a template function in source code. This patch also removes leading ":FUNC(ARG...):" part in help document of each function, because using templatefunc makes it useless. This patch uses not 'func' but 'templatefunc' as a decorator name, because the former is too generic one, even though the latter is a little redundant in 'templater.py'.
Wed, 30 Mar 2016 02:10:44 +0900 registrar: add templatefunc to mark a function as template function (API)
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Mar 2016 02:10:44 +0900] rev 28695
registrar: add templatefunc to mark a function as template function (API) This patch also adds loadfunction() to templater, because this combination helps to figure out how they cooperate with each other. Listing up loadfunction() in dispatch.extraloaders causes implicit loading template function at loading (3rd party) extension. This patch explicitly tests whether templatefunc decorator works as expected, because there is no bundled extension, which defines template function. This change requires that "templatefunc" attribute of (3rd party) extension is registrar.templatefunc or so.
Wed, 30 Mar 2016 02:10:44 +0900 keyword: use templatefilter to mark a function as template filter
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Mar 2016 02:10:44 +0900] rev 28694
keyword: use templatefilter to mark a function as template filter This patch also adds test for filter 'svnisodate' and 'svnutcdate' for safety, because there is no test using them, yet.
Wed, 30 Mar 2016 02:10:44 +0900 templatefilters: use templatefilter to mark a function as template filter
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Mar 2016 02:10:44 +0900] rev 28693
templatefilters: use templatefilter to mark a function as template filter Using decorator can localize changes for adding (or removing) a template filter function in source code. This patch also removes leading ":FILTER:" part in help document of each filters, because using templatefilter makes it useless. This patch uses not 'filter' but 'templatefilter' as a decorator name, because the former name hides Python built-in one, even though the latter is a little redundant in 'templatefilters.py'.
Wed, 30 Mar 2016 02:10:44 +0900 registrar: add templatefilter to mark a function as template filter (API)
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 30 Mar 2016 02:10:44 +0900] rev 28692
registrar: add templatefilter to mark a function as template filter (API) This patch also adds loadfilter() to templatefilters, because this combination helps to figure out how they cooperate with each other. Listing up loadfilter() in dispatch.extraloaders causes implicit loading template filter functions at loading (3rd party) extension. This change requires that "templatefilter" attribute of (3rd party) extension is registrar.templatefilter or so.
Sun, 14 Feb 2016 20:43:30 +0900 revset: inline _getaliasarg() function
Yuya Nishihara <yuya@tcha.org> [Sun, 14 Feb 2016 20:43:30 +0900] rev 28691
revset: inline _getaliasarg() function This function is now much simpler than before. Inlining small functions helps to extract a reusable alias processor.
Sun, 14 Feb 2016 20:27:08 +0900 revset: drop redundant check for unknown alias arguments
Yuya Nishihara <yuya@tcha.org> [Sun, 14 Feb 2016 20:27:08 +0900] rev 28690
revset: drop redundant check for unknown alias arguments Since _parsealiasdefn() rejects unknown alias arguments, _checkaliasarg() is unnecessary. New test is added to make sure unknown '$n' symbols are rejected.
Sun, 14 Feb 2016 19:48:33 +0900 revset: move tagging of alias arguments from tokenization to parsing phase
Yuya Nishihara <yuya@tcha.org> [Sun, 14 Feb 2016 19:48:33 +0900] rev 28689
revset: move tagging of alias arguments from tokenization to parsing phase In short, this patch moves the hack from tokenizedefn() to _relabelaliasargs(), which is called after parsing. This change aims to eliminate tight dependency on the revset tokenizer. Before this patch, we had to rewrite an alias argument to a pseudo function: "$1" -> "_aliasarg('$1')" ('symbol', '$1') -> ('function', ('symbol', '_aliasarg'), ('string', '$1')) This was because the tokenizer must generate tokens that are syntactically valid. By moving the process to the parsing phase, we can assign a unique tag to an alias argument. ('symbol', '$1') -> ('_aliasarg', '$1') Since new _aliasarg node never be generated from a user input, we no longer have to verify a user input at findaliases(). The test for _aliasarg("$1") is removed as it is syntactically valid and should pass the parsing phase.
Sun, 14 Feb 2016 21:46:50 +0900 revset: add test that should fail if '_aliasarg' tag is removed
Yuya Nishihara <yuya@tcha.org> [Sun, 14 Feb 2016 21:46:50 +0900] rev 28688
revset: add test that should fail if '_aliasarg' tag is removed I'm going to refactor the alias processing functions. We need '_aliasarg' tag to limit the scope of the alias expansion, but it wasn't covered by the test. This patch adds the test that should fail if '_aliasarg' were 'symbol'. This is the first half of the second part of the "template alias" series. The whole series will consist of the following parts: 1. make parsed template tree to be compatible with parser functions (1d461ee26e1b and 73d01cba5810) 2. refactor alias processing to be less dependent on revset module (1/2 in this series) 3. extract reusable component to parser module 4. clean up it 5. extend it to support template syntax 6. add debugging/testing functions of template aliases 7. add alias expansion routine to templater
Sun, 27 Mar 2016 17:42:19 +0900 templater: do not strip non-quote characters from template config
Yuya Nishihara <yuya@tcha.org> [Sun, 27 Mar 2016 17:42:19 +0900] rev 28687
templater: do not strip non-quote characters from template config Before this patch, the first and last characters were stripped from ui.logtemplate and template.* if they were the same. It could lead to a strange result as quotes are optional. See the test for example.
Tue, 29 Mar 2016 11:50:41 -0700 rebase: fix crash when rebase aborts while rebasing obsolete revisions
Laurent Charignon <lcharignon@fb.com> [Tue, 29 Mar 2016 11:50:41 -0700] rev 28686
rebase: fix crash when rebase aborts while rebasing obsolete revisions Before this patch, rebase --continue would crash when trying to resume a rebase of obsolete revisions whose successors were in the destination. This patch adds logic to recompute the mapping when rebase is resumed. This patch also adds a test that showcased the crash before the code change.
Tue, 29 Mar 2016 11:49:45 -0700 rebase: refactor of error handling code path for rebaseskipobsolete
Laurent Charignon <lcharignon@fb.com> [Tue, 29 Mar 2016 11:49:45 -0700] rev 28685
rebase: refactor of error handling code path for rebaseskipobsolete This patch extracts the error handling code path to go in a separate function. In the next patch we will able to reuse this logic and avoid duplicated code.
Tue, 29 Mar 2016 23:59:32 +0900 destutil: show message and hint at updating to the closed head as warning
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Tue, 29 Mar 2016 23:59:32 +0900] rev 28684
destutil: show message and hint at updating to the closed head as warning
Tue, 29 Mar 2016 23:59:32 +0900 destutil: make messages at updating to the closed head usual form
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Tue, 29 Mar 2016 23:59:32 +0900] rev 28683
destutil: make messages at updating to the closed head usual form This patch makes messages at updating to the closed head usual form for Mercurial as below: one line description of the problem with no period (a suggestion about how to move forward or get more info)
Tue, 29 Mar 2016 16:41:32 +0530 py3: make test-ui-color use print_function
Pulkit Goyal <7895pulkit@gmail.com> [Tue, 29 Mar 2016 16:41:32 +0530] rev 28682
py3: make test-ui-color use print_function
Tue, 29 Mar 2016 16:38:27 +0530 py3: make test-ui-config use print_function
Pulkit Goyal <7895pulkit@gmail.com> [Tue, 29 Mar 2016 16:38:27 +0530] rev 28681
py3: make test-ui-config use print_function
(0) -10000 -3000 -1000 -300 -100 -96 +96 +100 +300 +1000 +3000 +10000 tip