[Python-Dev] Impaired Usability of the Mercurial Source Viewer

Raymond Hettinger raymond.hettinger at gmail.com
Fri Apr 1 02:46:12 CEST 2011


On Mar 31, 2011, at 5: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

Are you saying that our official code viewer isn't configurable
without getting a change through the Hg project itself?

Does that mean that we have have to live with it in its crippled form?


Raymond



More information about the Python-Dev mailing list