Fri, 11 May 2018 21:23:48 -0700 dispatch: minor code refactor
Gregory Szorc <gregory.szorc@gmail.com> [Fri, 11 May 2018 21:23:48 -0700] rev 38037
dispatch: minor code refactor This hopefully makes things slightly easier to read. Differential Revision: https://phab.mercurial-scm.org/D3537
Wed, 04 Apr 2018 21:17:55 +0900 hgweb: drop unused argument 'tmpl' from webutil.compare()
Yuya Nishihara <yuya@tcha.org> [Wed, 04 Apr 2018 21:17:55 +0900] rev 38036
hgweb: drop unused argument 'tmpl' from webutil.compare()
Wed, 04 Apr 2018 21:17:10 +0900 hgweb: convert {comparison} to a mappinggenerator with named template
Yuya Nishihara <yuya@tcha.org> [Wed, 04 Apr 2018 21:17:10 +0900] rev 38035
hgweb: convert {comparison} to a mappinggenerator with named template No bare generator.
Wed, 04 Apr 2018 21:14:30 +0900 hgweb: rename 'context' argument of webutil.compare() to avoid name conflicts
Yuya Nishihara <yuya@tcha.org> [Wed, 04 Apr 2018 21:14:30 +0900] rev 38034
hgweb: rename 'context' argument of webutil.compare() to avoid name conflicts The meaning of 'context' depends on context. Here it is the number of the context lines in unified diff.
Wed, 04 Apr 2018 00:08:10 +0900 hgweb: convert comparison {lines} to a mappinggenerator with named template
Yuya Nishihara <yuya@tcha.org> [Wed, 04 Apr 2018 00:08:10 +0900] rev 38033
hgweb: convert comparison {lines} to a mappinggenerator with named template Bare generator can't be restarted.
Tue, 03 Apr 2018 23:57:00 +0900 hgweb: move getblock() closure out of compare()
Yuya Nishihara <yuya@tcha.org> [Tue, 03 Apr 2018 23:57:00 +0900] rev 38032
hgweb: move getblock() closure out of compare() (Please use 'hg diff -w' to get readable diff from this patch.)
Tue, 03 Apr 2018 23:54:08 +0900 hgweb: move compline() closure out of compare()
Yuya Nishihara <yuya@tcha.org> [Tue, 03 Apr 2018 23:54:08 +0900] rev 38031
hgweb: move compline() closure out of compare()
Tue, 03 Apr 2018 23:50:00 +0900 hgweb: convert {diff} to a mappinggenerator with named template
Yuya Nishihara <yuya@tcha.org> [Tue, 03 Apr 2018 23:50:00 +0900] rev 38030
hgweb: convert {diff} to a mappinggenerator with named template No more bare generator. Fortunately, this one is associated with a single template, so it can be a mappinggenerator.
Tue, 03 Apr 2018 23:43:41 +0900 hgweb: use template context to render {lines} of {diff}
Yuya Nishihara <yuya@tcha.org> [Tue, 03 Apr 2018 23:43:41 +0900] rev 38029
hgweb: use template context to render {lines} of {diff} This is a preferred way to process nested templates.
Tue, 03 Apr 2018 23:42:15 +0900 hgweb: wrap {lines} of {diff} with mappedgenerator
Yuya Nishihara <yuya@tcha.org> [Tue, 03 Apr 2018 23:42:15 +0900] rev 38028
hgweb: wrap {lines} of {diff} with mappedgenerator This can't be a mappinggenerator as it switches the templates conditionally.
(0) -30000 -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 +10000 tip