Make the Mecurial Web Interface More Useful
By Weijun-Oracle on Apr 19, 2008
Change tag and branch names into linksFor you guys using mq, when you request a web review, you send out the URL of the changeset generated by qpush, something like:
http://hostname/cgi/hgwebdir.cgi/hg/rev/1c4ddc74bb06before the reviewer is finished with the task, you do some qpop/qpush/qrefresh, and the URL for the changeset changes to something else:
http://hostname/cgi/hgwebdir.cgi/hg/rev/242605649945After apply this patch, the yellow tag labels links to a URL which is permanent for the patch, and take the format of:
Add file status tag in changesetSimple enhancement to the changeset view, where you can see symbols before the file names meaning +(Added), -(Removed), !(Modified), r(Renamed)
Toggle view of full contents and diff onlyFor those (possibly mq users) who sends out the changeset URL for web review, your reviewer may prefer the webrev format more because it contains more information. This patch may not provide as many as info like webrev, but it does show a "Toggle Full Codes Display" link on the changeset and filediff page, click on it and you read all the contents of the old and new files. Plus now it shows 2 columns of line numbers for the old version and the new one respectively.
After you press the link: