Last updated January 21, 2009 10:39, by hgsonic
Feedicon  

Configure HGRC to View Modified Shortlog

In order to view the modified shortlog over the web interface, you must use the gitweb_sonic template. First create a folder called sonichgv2m102 in the htdocs folder (assuming you have apache running). Copy over the files in the sonichgv2m102/static folder to this newly created directory. Then modify the HGRC file of the repo to include:

 [extensions]
 sonic=/path/to/sonichgv2m102/hgext/sonic.py
 sonicweb=/path/to/sonichgv2m102/hgext/sonicweb.py
 [web]
 templates=/path/to/sonichgv2m102/templates
 style=gitweb_sonic
 staticurl=http://yourserver.com/sonichgv2m102
 encoding=UTF-8

Shortlog in Action

Now if you go to the repo web UI and click on the shortlog link on the top you will see the modified shortlog:

http://sonichg.zspin.com/hgview.cgi/calc/shortlog



Browsing Through Commits

You can move the slider in the top left hand to move backwards through commits. The commit revision numbers are shown on the left. Instead of the slider you can enter a commit number in the text box and press enter - or also modify the URL directly.

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2013, Oracle Corporation and/or its affiliates
(revision 20140418.2d69abc)
 
 
Close
loading
Please Confirm
Close