sapling/mercurial/hgweb
Paul Boddie 0e0c036052 hgweb: add block numbers to diff regions and related links
The changeset view may show several diff regions, one per file, and this patch
numbers each of them so that links produced by the filenodelink fragment can
reference each diff region produced by the diffblock fragment through the use
of the blockno variable made available to both of them. This permits
navigation to diff regions on the changeset page from the file list, and
where the :target pseudo-class is supported in browsers, permits selective
presentation of diffs, showing one at a time instead of potentially many in
what would otherwise be a very long page that is difficult to navigate.
2012-03-23 01:31:31 +01:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: initialize permhooks at definition time 2011-04-30 13:47:22 +02:00
hgweb_mod.py merge with stable 2011-08-01 10:54:34 -05:00
hgwebdir_mod.py hgweb: support multi-level repository indexes by enabling descend and collapse 2012-02-18 20:10:19 +01:00
protocol.py wireproto: add out-of-band error class to allow remote repo to report errors 2011-08-02 15:21:10 -04:00
request.py globally: use safehasattr(x, '__iter__') instead of hasattr(x, '__iter__') 2011-07-25 15:30:19 -05:00
server.py pyflakes: clean up some import noise 2011-10-11 23:16:05 -05:00
webcommands.py hgweb: add block numbers to diff regions and related links 2012-03-23 01:31:31 +01:00
webutil.py hgweb: add block numbers to diff regions and related links 2012-03-23 01:31:31 +01:00
wsgicgi.py wsgicgi: use getattr instead of hasattr 2011-07-25 15:38:10 -05:00