Am 01.04.2011 03:44, schrieb Benjamin Peterson: > 2011/3/31 Raymond Hettinger <raymond.hettin...@gmail.com>: >> >> On Mar 31, 2011, at 6:28 PM, Victor Stinner wrote: >> >> Le 01/04/2011 01:15, Raymond Hettinger a écrit : >> >> 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. >> >> You can use mirrors like: >> https://bitbucket.org/mirror/cpython/ >> >> On Bitbucket, line numbers are displayed, but you can copy/paste code >> without the line number. And the background is just white. For example: >> https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Modules/faulthandler.c >> >> >> That's *way* better: >> https://bitbucket.org/mirror/cpython/src/3558eecd84f0/Lib/linecache.py >> Why can't we have that for our primary source viewer. > > Because it's closed source.
There are of course other Mercurial-web frontends that are free. hgweb is just the first choice because it's included. (Just like Tkinter.) For example, I was recently pointed to RhodeCode (http://pypi.python.org/pypi/RhodeCode/), but I haven't had a closer look yet. Georg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com