Mercurial > hg
view templates/filerevision.tmpl @ 158:be7103467d2e
Add 'hg serve' command for stand-alone server
This adds a simple stand-alone web server mode to hg that exports the
current repo for merging and browsing. The default port is 8000.
author | mpm@selenic.com |
---|---|
date | Wed, 25 May 2005 16:27:10 -0800 |
parents | 083c38bdfa64 |
children | fad9ad1ec7c7 |
line wrap: on
line source
#header# <title>#repo#:#file#</title> </head> <body> <div class="buttons"> <a href="?cmd=changelog;rev=#rev#">changelog</a> <a href="?cmd=changeset;node=#node#">changeset</a> <a href="?cmd=manifest;manifest=#manifest#;path=#path#">manifest</a> <a href="?cmd=filelog;file=#file#;filenode=#filenode#">revisions</a> <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a> </div> <h2>#file# (revision #filenode#)</h2> <table> <tr> <td class="metatag">changeset:</td> <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr> #parent1# #parent2# <tr> <td class="metatag">manifest:</td> <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr> <tr> <td class="metatag">author:</td> <td>#author#</td></tr> <tr> <td class="metatag">date:</td> <td>#date#</td></tr> </table> <pre> #text# </pre> #footer#