[PATCH] hgweb: wrap long lines in file source

Laurens Holst laurens.nospam at grauw.nl
Thu Jun 27 08:49:47 CDT 2013

Op 27-06-13 14:55, Jordi Gutiérrez Hermoso schreef:
>> We’re talking programmers here :). It’s source control management.
> [...] The thinking that only nerdy Unix programmers should be
> allowed to use source control is too narrow and is what produced the
> atrocious git interface.

I think you misinterpreted my remark a bit; I did not mean to say that 
there Mercurial is used solely by programmers. I merely wanted to put 
focus on what the main audience of this product is, and that usability 
decisions should be tailored towards this audience if it does not come 
at too great a cost.

(I don’t think the git interface is good for anyone btw, programmers 

> So don't underestimate the amount of people who have to be taught how
> to scroll horizontally. If based on experimentation there exist
> recommendations against horizontal scrolling for websites in general,
> don't underestimate how important this may be for hgweb in particular.

I think the term “teach” is rather strong, people will find their way 
just fine I think. And if github can get away with it, I’m sure hgweb 
will survive the onslaught. :)

I don’t disagree that horizontal scrolling is suboptimal in general. 
However in the case of source code, there are good reasons not to 
disturb the formatting of the source files, that in my opinion trump the 
inconvenience of sometimes having to scroll horizontally.

Given that our main audience is programmers and source code, I would 
like to preserve that behaviour, which is why I sent a comment on the patch.


More information about the Mercurial-devel mailing list