On Wed, Jan 23, 2013 at 9:43 PM, Antoine Pitrou <solip...@pitrou.net> wrote: > On Wed, 23 Jan 2013 20:41:11 +0100 > "Amaury Forgeot d'Arc" <amaur...@gmail.com> wrote: >> 2013/1/22 Antoine Pitrou <solip...@pitrou.net> >> >> > I've upgraded the Mercurial version on hg.python.org. If there any >> > problems, don't hesitate to post here. >> > >> >> I've noticed a display glitch with the hg viewer: >> http://hg.python.org/cpython/rev/6df0b4ed8617#l2.8 >> There is a "[#14591]" link which causes the rest of the line to be shifted. > > Indeed. This is not because of the upgrade, but because of a new regexp > Ezio asked me to insert in the Web UI configuration :-) >
FWIW this was an attempt to fix the links to issues in http://hg.python.org/cpython/. AFAIU the interhg extension used here to turn "#12345" to links affects at least 3 places: 1) the description of each changeset in the "shortlog" page (e.g. http://hg.python.org/cpython/); 2) the description at the top of the "rev" page (e.g. http://hg.python.org/cpython/rev/6df0b4ed8617); 3) the code in the "diff"/"rev"/"annotate" and possibly other pages (e.g. http://hg.python.org/cpython/rev/6df0b4ed8617#l2.6); With the previous solution, case 1 was broken, but links for cases 2-3 worked fine. The problem is that in 1 the description is already a link, so the result ended up being something like '<a href="rev/...">Issue <a href="b.p.o/12345">#12345</a> is now fixed</a>'. With the new solution 1-2 work (the links are added/moved at the end), but it's glitched for case 3. Unless interhg provides a way to limit the replacement only to specific places and/or use different replacements for different places, we will either have to live with these glitches or come up with a proper fix done at the right level. Best Regards, Ezio Melotti > Regards > > Antoine. _______________________________________________ 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