[Python-Dev] Impaired Usability of the Mercurial Source Viewer
Scott Dial
scott+python-dev at scottdial.com
Fri Apr 1 03:18:21 CEST 2011
On 3/31/2011 8:30 PM, Antoine Pitrou wrote:
> On Thu, 31 Mar 2011 16:15:48 -0700
> Raymond Hettinger <raymond.hettinger at gmail.com> wrote:
>> The Hg source viewer needs to be tweaked to improve its usability.
>> What we've got now is a step backwards from the previous svn viewer.
>>
>> Looking at http://hg.python.org/cpython/file/default/Lib/linecache.py for example,
>> there are two issues. 1) the code cannot be cut-and-pasted because the
>> line numbers are commingled with the source text. 2) the code is hard
>> to read because of the alternating white and gray bars.
>>
>> Contrast that to the more typical, beautiful presentations with a solid
>> background and the ability to cut-and-paste without grabbing line
>> numbers:
>
> This is something you need to discuss with the Mercurial project.
> See http://mercurial.selenic.com/bts/ and
> http://mercurial.selenic.com/wiki/ContributingChanges
The hgweb interface is templated. You can already change it via "style"
in the hgweb.conf. There are several styles already available in the
templates folder of the install, and you could provide your own if you
like too.
--
Scott Dial
scott at scottdial.com
scodial at cs.indiana.edu
More information about the Python-Dev
mailing list