sapling/mercurial/templates
wujek srujek a8963fc179 hgweb: side-by-side comparison functionality
Adds new web command to the core, ``comparison``, which enables colorful
side-by-side change display, which for some might be much easier to work with
than the standard line diff output. The idea how to implement comes from the
SonicHq extension.
The web interface gets a new link to call the comparison functionality. It lets
users configure the amount of context lines around change blocks, or to show
full files - check help (also in this changeset) for details and defaults. The
setting in hgrc can be overridden by adding ``context=<value>`` to the request
query string. The comparison creates addressable lines, so as to enable sharing
links to specific lines, just as standard diff does.
Incorporates updates to all web related styles.

Known limitations:
* the column diff is done against the first parent, just as the standard diff
* this change allows examining diffs for single files only (as I am not sure if
  examining the whole changeset in this way would be helpful)
* syntax highlighting of the output changes is not performed (enabling the
  highlight extension has no influence on it)
2012-07-08 17:17:02 +02:00
..
atom hgweb: add missing bookmarks templates to atom/rss styles 2011-04-03 22:53:19 +09:00
coal hgweb: side-by-side comparison functionality 2012-07-08 17:17:02 +02:00
gitweb hgweb: side-by-side comparison functionality 2012-07-08 17:17:02 +02:00
monoblue hgweb: side-by-side comparison functionality 2012-07-08 17:17:02 +02:00
paper hgweb: side-by-side comparison functionality 2012-07-08 17:17:02 +02:00
raw hgweb: make graph data suitable for template usage 2012-05-21 00:20:05 +02:00
rss hgweb: add missing bookmarks templates to atom/rss styles 2011-04-03 22:53:19 +09:00
spartan templates: move Graph.edge() implementation in mercurial.js 2012-02-17 16:49:43 +01:00
static hgweb: side-by-side comparison functionality 2012-07-08 17:17:02 +02:00
map-cmdline.bisect styles: add new 'bisect' style that prints the bisection status 2011-09-22 01:51:36 +02:00
map-cmdline.changelog setup: install translation files as package data 2009-12-01 16:06:10 +01:00
map-cmdline.compact compact style: show bookmarks in the same manner as tags 2011-04-13 13:06:35 -05:00
map-cmdline.default changeset_printer: display changeset phase on debug level 2012-01-17 20:23:23 +01:00
map-cmdline.xml templates: add bookmarks to command line styles 2011-02-11 20:35:30 +01:00
template-vars.txt hgweb: support alternate logo url 2011-04-19 23:37:06 -04:00