##// END OF EJS Templates
web: add a help view for getting hg help output
Augie Fackler -
r12666:ead4e21f default
parent child Browse files
Show More
@@ -0,0 +1,43 b''
1 {header}
2 <title>Help: {topic}</title>
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}" />
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}" />
7 </head>
8 <body>
9
10 <div class="container">
11 <div class="menu">
12 <div class="logo">
13 <a href="http://mercurial.selenic.com/">
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
15 </div>
16 <ul>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
21 </ul>
22 <ul>
23 <li class="active">help</li>
24 </ul>
25 </div>
26
27 <div class="main">
28 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <h3>Help: {topic}</h3>
30
31 <form class="search" action="{url}log">
32 {sessionvars%hiddenformentry}
33 <p><input name="rev" id="search1" type="text" size="30" /></p>
34 <div id="hint">find changesets by author, revision,
35 files, or words in the commit message</div>
36 </form>
37 <pre>
38 {doc|escape}
39 </pre>
40 </div>
41 </div>
42
43 {footer}
@@ -0,0 +1,48 b''
1 {header}
2 <title>Help: {title}</title>
3 <link rel="alternate" type="application/atom+xml"
4 href="{url}atom-tags" title="Atom feed for {repo|escape}" />
5 <link rel="alternate" type="application/rss+xml"
6 href="{url}rss-tags" title="RSS feed for {repo|escape}" />
7 </head>
8 <body>
9
10 <div class="container">
11 <div class="menu">
12 <div class="logo">
13 <a href="http://mercurial.selenic.com/">
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
15 </div>
16 <ul>
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
20 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
21 </ul>
22 <ul>
23 <li class="active">help</li>
24 </ul>
25 </div>
26
27 <div class="main">
28 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
29 <form class="search" action="{url}log">
30 {sessionvars%hiddenformentry}
31 <p><input name="rev" id="search1" type="text" size="30" /></p>
32 <div id="hint">find changesets by author, revision,
33 files, or words in the commit message</div>
34 </form>
35 <table class="bigtable">
36 <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
37 {topics % helpentry}
38
39 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
40 {earlycommands % helpentry}
41
42 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
43 {othercommands % helpentry}
44 </table>
45 </div>
46 </div>
47
48 {footer}
@@ -13,6 +13,9 b' from mercurial.util import binary'
13 from common import paritygen, staticfile, get_contact, ErrorResponse
13 from common import paritygen, staticfile, get_contact, ErrorResponse
14 from common import HTTP_OK, HTTP_FORBIDDEN, HTTP_NOT_FOUND
14 from common import HTTP_OK, HTTP_FORBIDDEN, HTTP_NOT_FOUND
15 from mercurial import graphmod
15 from mercurial import graphmod
16 from mercurial import help as helpmod
17 from mercurial import ui
18 from mercurial.i18n import _
16
19
17 # __all__ is populated with the allowed commands. Be sure to add to it if
20 # __all__ is populated with the allowed commands. Be sure to add to it if
18 # you're adding a new command, or the new command won't work.
21 # you're adding a new command, or the new command won't work.
@@ -20,7 +23,7 b' from mercurial import graphmod'
20 __all__ = [
23 __all__ = [
21 'log', 'rawfile', 'file', 'changelog', 'shortlog', 'changeset', 'rev',
24 'log', 'rawfile', 'file', 'changelog', 'shortlog', 'changeset', 'rev',
22 'manifest', 'tags', 'branches', 'summary', 'filediff', 'diff', 'annotate',
25 'manifest', 'tags', 'branches', 'summary', 'filediff', 'diff', 'annotate',
23 'filelog', 'archive', 'static', 'graph',
26 'filelog', 'archive', 'static', 'graph', 'help',
24 ]
27 ]
25
28
26 def log(web, req, tmpl):
29 def log(web, req, tmpl):
@@ -724,3 +727,58 b' def graph(web, req, tmpl):'
724 lessvars=lessvars, morevars=morevars, downrev=downrev,
727 lessvars=lessvars, morevars=morevars, downrev=downrev,
725 canvasheight=canvasheight, jsdata=data, bg_height=bg_height,
728 canvasheight=canvasheight, jsdata=data, bg_height=bg_height,
726 node=revnode_hex, changenav=changenav)
729 node=revnode_hex, changenav=changenav)
730
731 def _getdoc(e):
732 doc = e[0].__doc__
733 if doc:
734 doc = doc.split('\n')[0]
735 else:
736 doc = _('(no help text available)')
737 return doc
738
739 def help(web, req, tmpl):
740 from mercurial import commands # avoid cycle
741
742 topicname = req.form.get('node', [None])[0]
743 if not topicname:
744 topic = []
745
746 def topics(**map):
747 for entries, summary, _ in helpmod.helptable:
748 entries = sorted(entries, key=len)
749 yield {'topic': entries[-1], 'summary': summary}
750
751 early, other = [], []
752 primary = lambda s: s.split('|')[0]
753 for c, e in commands.table.iteritems():
754 doc = _getdoc(e)
755 if 'DEPRECATED' in doc or c.startswith('debug'):
756 continue
757 cmd = primary(c)
758 if cmd.startswith('^'):
759 early.append((cmd[1:], doc))
760 else:
761 other.append((cmd, doc))
762
763 early.sort()
764 other.sort()
765
766 def earlycommands(**map):
767 for c, doc in early:
768 yield {'topic': c, 'summary': doc}
769
770 def othercommands(**map):
771 for c, doc in other:
772 yield {'topic': c, 'summary': doc}
773
774 return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
775 othercommands=othercommands, title='Index')
776
777 u = ui.ui()
778 u.pushbuffer()
779 try:
780 commands.help_(u, topicname)
781 except error.UnknownCommand:
782 raise ErrorResponse(HTTP_NOT_FOUND)
783 doc = u.popbuffer()
784 return tmpl('help', topic=topicname, doc=doc)
@@ -10,6 +10,11 b' shortlog = ../paper/shortlog.tmpl'
10 shortlogentry = ../paper/shortlogentry.tmpl
10 shortlogentry = ../paper/shortlogentry.tmpl
11 graph = ../paper/graph.tmpl
11 graph = ../paper/graph.tmpl
12
12
13 help = ../paper/help.tmpl
14 helptopics = ../paper/helptopics.tmpl
15
16 helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
17
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
19 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
15 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
20 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
@@ -18,7 +18,8 b''
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
20 branches |
20 branches |
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
22 <a href="{url}help{sessionvars%urlparameter}">help</a>
22 <br/>
23 <br/>
23 </div>
24 </div>
24
25
@@ -25,7 +25,8 b' changelog |'
25 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
25 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} |
29 <a href="{url}help{sessionvars%urlparameter}">help</a>
29 <br/>
30 <br/>
30 {changenav%nav}<br/>
31 {changenav%nav}<br/>
31 </div>
32 </div>
@@ -20,7 +20,9 b''
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
22 changeset |
22 changeset |
23 <a href="{url}raw-rev/{node|short}">raw</a> {archives%archiveentry}<br/>
23 <a href="{url}raw-rev/{node|short}">raw</a> {archives%archiveentry} |
24 <a href="{url}help{sessionvars%urlparameter}">help</a>
25 <br/>
24 </div>
26 </div>
25
27
26 <div>
28 <div>
@@ -25,7 +25,8 b''
25 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
25 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
26 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
26 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
27 diff |
27 diff |
28 <a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a><br/>
28 <a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a><br/> |
29 <a href="{url}help{sessionvars%urlparameter}">help</a>
29 </div>
30 </div>
30
31
31 <div class="title">{file|escape}</div>
32 <div class="title">{file|escape}</div>
@@ -25,7 +25,8 b''
25 graph |
25 graph |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
29 <a href="{url}help{sessionvars%urlparameter}">help</a>
29 <br/>
30 <br/>
30 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
31 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
31 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
32 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
@@ -23,8 +23,9 b' branches |'
23 </div>
23 </div>
24
24
25 <div class="title">&nbsp;</div>
25 <div class="title">&nbsp;</div>
26 <table cellspacing="0">
26
27 {entries%branchentry}
27 <pre>
28 </table>
28 {doc|escape}
29 </pre>
29
30
30 {footer}
31 {footer}
@@ -17,14 +17,22 b''
17 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
17 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
20 branches |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
22 help
22 <br/>
23 <br/>
23 </div>
24 </div>
24
25
25 <div class="title">&nbsp;</div>
26 <div class="title">&nbsp;</div>
26 <table cellspacing="0">
27 <table cellspacing="0">
27 {entries%branchentry}
28 <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
29 {topics % helpentry}
30
31 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
32 {earlycommands % helpentry}
33
34 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
35 {othercommands % helpentry}
28 </table>
36 </table>
29
37
30 {footer}
38 {footer}
@@ -19,7 +19,9 b''
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
19 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
21 files |
21 files |
22 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry}<br/>
22 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry} |
23 <a href="{url}help{sessionvars%urlparameter}">help</a>
24 <br/>
23 </div>
25 </div>
24
26
25 <div class="title">{path|escape} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></div>
27 <div class="title">{path|escape} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></div>
@@ -7,6 +7,12 b' changelog = changelog.tmpl'
7 summary = summary.tmpl
7 summary = summary.tmpl
8 error = error.tmpl
8 error = error.tmpl
9 notfound = notfound.tmpl
9 notfound = notfound.tmpl
10
11 help = help.tmpl
12 helptopics = helptopics.tmpl
13
14 helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
15
10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
17 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
@@ -24,7 +24,8 b' shortlog |'
24 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
24 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
25 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
25 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
26 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
26 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
27 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}
27 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} |
28 <a href="{url}help{sessionvars%urlparameter}">help</a>
28 <br/>{changenav%navshort}<br/>
29 <br/>{changenav%navshort}<br/>
29 </div>
30 </div>
30
31
@@ -25,7 +25,8 b' summary |'
25 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
25 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
26 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
27 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}
28 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry} |
29 <a href="{url}help{sessionvars%urlparameter}">help</a>
29 <br/>
30 <br/>
30 </div>
31 </div>
31
32
@@ -18,7 +18,8 b''
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
18 <a href="{url}graph{sessionvars%urlparameter}">graph</a> |
19 tags |
19 tags |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
20 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
21 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
22 <a href="{url}help{sessionvars%urlparameter}">help</a>
22 <br/>
23 <br/>
23 </div>
24 </div>
24
25
@@ -25,6 +25,7 b''
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li class="current">branches</li>
26 <li class="current">branches</li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
@@ -25,6 +25,7 b''
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
@@ -26,6 +26,7 b''
26 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
27 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
28 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
29 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
29 </ul>
30 </ul>
30 </div>
31 </div>
31
32
@@ -23,14 +23,15 b''
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li class="current">branches</li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li class="current">help</li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
31 <h2 class="no-link no-border">branches</h2>
32 <h2 class="no-link no-border">branches</h2>
32 <table cellspacing="0">
33 <pre>
33 {entries%branchentry}
34 {doc|escape}
34 </table>
35 </pre>
35
36
36 {footer}
37 {footer}
@@ -23,14 +23,22 b''
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
23 <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li class="current">branches</li>
26 <li><a href="{url}help{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li class="current">help</li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
31 <h2 class="no-link no-border">branches</h2>
32 <h2 class="no-link no-border">branches</h2>
32 <table cellspacing="0">
33 <table cellspacing="0">
33 {entries%branchentry}
34 <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
35 {topics % helpentry}
36
37 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
38 {earlycommands % helpentry}
39
40 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
41 {othercommands % helpentry}
34 </table>
42 </table>
35
43
36 {footer}
44 {footer}
@@ -25,6 +25,7 b''
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li class="current">files</li>
27 <li class="current">files</li>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
@@ -7,6 +7,12 b' changelog = changelog.tmpl'
7 summary = summary.tmpl
7 summary = summary.tmpl
8 error = error.tmpl
8 error = error.tmpl
9 notfound = notfound.tmpl
9 notfound = notfound.tmpl
10
11 help = help.tmpl
12 helptopics = helptopics.tmpl
13
14 helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
15
10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
16 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
17 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
@@ -75,7 +81,7 b" annotateline = '"
75 <tr class="parity{parity}">
81 <tr class="parity{parity}">
76 <td class="linenr">
82 <td class="linenr">
77 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
83 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
78 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
84 title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
79 </td>
85 </td>
80 <td class="lineno">
86 <td class="lineno">
81 <a href="#{lineid}" id="{lineid}">{linenumber}</a>
87 <a href="#{lineid}" id="{lineid}">{linenumber}</a>
@@ -24,7 +24,9 b''
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
24 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 {archives%archiveentry}
29 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
30 </ul>
29 </div>
31 </div>
30
32
@@ -25,6 +25,7 b''
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
25 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
@@ -25,6 +25,7 b''
25 <li class="current">tags</li>
25 <li class="current">tags</li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
26 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
27 <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
28 </ul>
29 </ul>
29 </div>
30 </div>
30
31
@@ -22,6 +22,9 b''
22 <ul>
22 <ul>
23 {archives%archiveentry}
23 {archives%archiveentry}
24 </ul>
24 </ul>
25 <ul>
26 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
27 </ul>
25 </div>
28 </div>
26
29
27 <div class="main">
30 <div class="main">
@@ -24,6 +24,9 b''
24 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
24 <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
25 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
25 <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li>
26 </ul>
26 </ul>
27 <ul>
28 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
29 </ul>
27 </div>
30 </div>
28
31
29 <div class="main">
32 <div class="main">
@@ -22,6 +22,9 b''
22 <ul>
22 <ul>
23 {archives%archiveentry}
23 {archives%archiveentry}
24 </ul>
24 </ul>
25 <ul>
26 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
27 </ul>
25 </div>
28 </div>
26
29
27 <div class="main">
30 <div class="main">
@@ -9,6 +9,10 b' changelog = shortlog.tmpl'
9 shortlog = shortlog.tmpl
9 shortlog = shortlog.tmpl
10 shortlogentry = shortlogentry.tmpl
10 shortlogentry = shortlogentry.tmpl
11 graph = graph.tmpl
11 graph = graph.tmpl
12 help = help.tmpl
13 helptopics = helptopics.tmpl
14
15 helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
12
16
13 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
17 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
14 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
18 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
@@ -26,6 +26,9 b''
26 <ul>
26 <ul>
27 {archives%archiveentry}
27 {archives%archiveentry}
28 </ul>
28 </ul>
29 <ul>
30 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
31 </ul>
29 </div>
32 </div>
30
33
31 <div class="main">
34 <div class="main">
@@ -19,6 +19,9 b''
19 <li class="active">tags</li>
19 <li class="active">tags</li>
20 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
20 <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li>
21 </ul>
21 </ul>
22 <ul>
23 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
24 </ul>
22 </div>
25 </div>
23
26
24 <div class="main">
27 <div class="main">
@@ -83,7 +83,7 b' div.page-header {'
83 margin: 10px 0 0 0;
83 margin: 10px 0 0 0;
84 list-style-type: none;
84 list-style-type: none;
85 overflow: hidden;
85 overflow: hidden;
86 width: 800px;
86 width: 900px;
87 }
87 }
88 ul.page-nav li {
88 ul.page-nav li {
89 margin: 0 2px 0 0;
89 margin: 0 2px 0 0;
@@ -205,6 +205,7 b' Logs and changes'
205 <li><a href="/graph/1d22e65f027e">graph</a></li>
205 <li><a href="/graph/1d22e65f027e">graph</a></li>
206 <li><a href="/tags">tags</a></li>
206 <li><a href="/tags">tags</a></li>
207 <li><a href="/branches">branches</a></li>
207 <li><a href="/branches">branches</a></li>
208 <li><a href="/help">help</a></li>
208 </ul>
209 </ul>
209 <ul>
210 <ul>
210 <li><a href="/rev/1d22e65f027e">changeset</a></li>
211 <li><a href="/rev/1d22e65f027e">changeset</a></li>
@@ -213,6 +214,9 b' Logs and changes'
213 <ul>
214 <ul>
214
215
215 </ul>
216 </ul>
217 <ul>
218 <li><a href="/help">help</a></li>
219 </ul>
216 </div>
220 </div>
217
221
218 <div class="main">
222 <div class="main">
@@ -294,6 +298,7 b' Logs and changes'
294 <li><a href="/graph/2ef0ac749a14">graph</a></li>
298 <li><a href="/graph/2ef0ac749a14">graph</a></li>
295 <li><a href="/tags">tags</a></li>
299 <li><a href="/tags">tags</a></li>
296 <li><a href="/branches">branches</a></li>
300 <li><a href="/branches">branches</a></li>
301 <li><a href="/help">help</a></li>
297 </ul>
302 </ul>
298 <ul>
303 <ul>
299 <li class="active">changeset</li>
304 <li class="active">changeset</li>
@@ -303,6 +308,9 b' Logs and changes'
303 <ul>
308 <ul>
304
309
305 </ul>
310 </ul>
311 <ul>
312 <li><a href="/help">help</a></li>
313 </ul>
306 </div>
314 </div>
307
315
308 <div class="main">
316 <div class="main">
@@ -627,7 +635,8 b' Overviews'
627 <a href="/graph?style=gitweb">graph</a> |
635 <a href="/graph?style=gitweb">graph</a> |
628 <a href="/tags?style=gitweb">tags</a> |
636 <a href="/tags?style=gitweb">tags</a> |
629 <a href="/branches?style=gitweb">branches</a> |
637 <a href="/branches?style=gitweb">branches</a> |
630 <a href="/file/1d22e65f027e?style=gitweb">files</a>
638 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
639 <a href="/help?style=gitweb">help</a>
631 <br/>
640 <br/>
632 </div>
641 </div>
633
642
@@ -778,7 +787,8 b' Overviews'
778 graph |
787 graph |
779 <a href="/tags?style=gitweb">tags</a> |
788 <a href="/tags?style=gitweb">tags</a> |
780 <a href="/branches?style=gitweb">branches</a> |
789 <a href="/branches?style=gitweb">branches</a> |
781 <a href="/file/1d22e65f027e?style=gitweb">files</a>
790 <a href="/file/1d22e65f027e?style=gitweb">files</a> |
791 <a href="/help?style=gitweb">help</a>
782 <br/>
792 <br/>
783 <a href="/graph/2?style=gitweb&revcount=30">less</a>
793 <a href="/graph/2?style=gitweb&revcount=30">less</a>
784 <a href="/graph/2?style=gitweb&revcount=120">more</a>
794 <a href="/graph/2?style=gitweb&revcount=120">more</a>
@@ -52,6 +52,7 b' manifest with descending'
52 <li><a href="/graph/9087c84a0f5d">graph</a></li>
52 <li><a href="/graph/9087c84a0f5d">graph</a></li>
53 <li><a href="/tags">tags</a></li>
53 <li><a href="/tags">tags</a></li>
54 <li><a href="/branches">branches</a></li>
54 <li><a href="/branches">branches</a></li>
55 <li><a href="/help">help</a></li>
55 </ul>
56 </ul>
56 <ul>
57 <ul>
57 <li><a href="/rev/9087c84a0f5d">changeset</a></li>
58 <li><a href="/rev/9087c84a0f5d">changeset</a></li>
@@ -60,6 +61,9 b' manifest with descending'
60 <ul>
61 <ul>
61
62
62 </ul>
63 </ul>
64 <ul>
65 <li><a href="/help">help</a></li>
66 </ul>
63 </div>
67 </div>
64
68
65 <div class="main">
69 <div class="main">
@@ -44,6 +44,7 b' revision'
44 <li><a href="/graph/0cd96de13884">graph</a></li>
44 <li><a href="/graph/0cd96de13884">graph</a></li>
45 <li><a href="/tags">tags</a></li>
45 <li><a href="/tags">tags</a></li>
46 <li><a href="/branches">branches</a></li>
46 <li><a href="/branches">branches</a></li>
47 <li><a href="/help">help</a></li>
47 </ul>
48 </ul>
48 <ul>
49 <ul>
49 <li class="active">changeset</li>
50 <li class="active">changeset</li>
@@ -53,6 +54,9 b' revision'
53 <ul>
54 <ul>
54
55
55 </ul>
56 </ul>
57 <ul>
58 <li><a href="/help">help</a></li>
59 </ul>
56 </div>
60 </div>
57
61
58 <div class="main">
62 <div class="main">
@@ -263,6 +267,7 b' revision'
263 <li><a href="/graph/0cd96de13884">graph</a></li>
267 <li><a href="/graph/0cd96de13884">graph</a></li>
264 <li><a href="/tags">tags</a></li>
268 <li><a href="/tags">tags</a></li>
265 <li><a href="/branches">branches</a></li>
269 <li><a href="/branches">branches</a></li>
270 <li><a href="/help">help</a></li>
266 </ul>
271 </ul>
267 <ul>
272 <ul>
268 <li class="active">changeset</li>
273 <li class="active">changeset</li>
@@ -272,6 +277,9 b' revision'
272 <ul>
277 <ul>
273
278
274 </ul>
279 </ul>
280 <ul>
281 <li><a href="/help">help</a></li>
282 </ul>
275 </div>
283 </div>
276
284
277 <div class="main">
285 <div class="main">
@@ -33,6 +33,7 b' Some tests for hgweb in an empty reposit'
33 <li><a href="/graph/000000000000">graph</a></li>
33 <li><a href="/graph/000000000000">graph</a></li>
34 <li><a href="/tags">tags</a></li>
34 <li><a href="/tags">tags</a></li>
35 <li><a href="/branches">branches</a></li>
35 <li><a href="/branches">branches</a></li>
36 <li><a href="/help">help</a></li>
36 </ul>
37 </ul>
37 <ul>
38 <ul>
38 <li><a href="/rev/000000000000">changeset</a></li>
39 <li><a href="/rev/000000000000">changeset</a></li>
@@ -41,6 +42,9 b' Some tests for hgweb in an empty reposit'
41 <ul>
42 <ul>
42
43
43 </ul>
44 </ul>
45 <ul>
46 <li><a href="/help">help</a></li>
47 </ul>
44 </div>
48 </div>
45
49
46 <div class="main">
50 <div class="main">
@@ -112,6 +116,7 b' Some tests for hgweb in an empty reposit'
112 <li><a href="/graph/000000000000">graph</a></li>
116 <li><a href="/graph/000000000000">graph</a></li>
113 <li><a href="/tags">tags</a></li>
117 <li><a href="/tags">tags</a></li>
114 <li><a href="/branches">branches</a></li>
118 <li><a href="/branches">branches</a></li>
119 <li><a href="/help">help</a></li>
115 </ul>
120 </ul>
116 <ul>
121 <ul>
117 <li><a href="/rev/000000000000">changeset</a></li>
122 <li><a href="/rev/000000000000">changeset</a></li>
@@ -120,6 +125,9 b' Some tests for hgweb in an empty reposit'
120 <ul>
125 <ul>
121
126
122 </ul>
127 </ul>
128 <ul>
129 <li><a href="/help">help</a></li>
130 </ul>
123 </div>
131 </div>
124
132
125 <div class="main">
133 <div class="main">
@@ -192,11 +200,15 b' Some tests for hgweb in an empty reposit'
192 <li class="active">graph</li>
200 <li class="active">graph</li>
193 <li><a href="/tags">tags</a></li>
201 <li><a href="/tags">tags</a></li>
194 <li><a href="/branches">branches</a></li>
202 <li><a href="/branches">branches</a></li>
203 <li><a href="/help">help</a></li>
195 </ul>
204 </ul>
196 <ul>
205 <ul>
197 <li><a href="/rev/000000000000">changeset</a></li>
206 <li><a href="/rev/000000000000">changeset</a></li>
198 <li><a href="/file/000000000000">browse</a></li>
207 <li><a href="/file/000000000000">browse</a></li>
199 </ul>
208 </ul>
209 <ul>
210 <li><a href="/help">help</a></li>
211 </ul>
200 </div>
212 </div>
201
213
202 <div class="main">
214 <div class="main">
@@ -332,6 +344,7 b' Some tests for hgweb in an empty reposit'
332 <li><a href="/graph/000000000000">graph</a></li>
344 <li><a href="/graph/000000000000">graph</a></li>
333 <li><a href="/tags">tags</a></li>
345 <li><a href="/tags">tags</a></li>
334 <li><a href="/branches">branches</a></li>
346 <li><a href="/branches">branches</a></li>
347 <li><a href="/help">help</a></li>
335 </ul>
348 </ul>
336 <ul>
349 <ul>
337 <li><a href="/rev/000000000000">changeset</a></li>
350 <li><a href="/rev/000000000000">changeset</a></li>
@@ -340,6 +353,9 b' Some tests for hgweb in an empty reposit'
340 <ul>
353 <ul>
341
354
342 </ul>
355 </ul>
356 <ul>
357 <li><a href="/help">help</a></li>
358 </ul>
343 </div>
359 </div>
344
360
345 <div class="main">
361 <div class="main">
@@ -39,6 +39,7 b' revision'
39 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
39 <li><a href="/graph/c78f6c5cbea9">graph</a></li>
40 <li><a href="/tags">tags</a></li>
40 <li><a href="/tags">tags</a></li>
41 <li><a href="/branches">branches</a></li>
41 <li><a href="/branches">branches</a></li>
42 <li><a href="/help">help</a></li>
42 </ul>
43 </ul>
43 <ul>
44 <ul>
44 <li class="active">changeset</li>
45 <li class="active">changeset</li>
@@ -48,6 +49,9 b' revision'
48 <ul>
49 <ul>
49
50
50 </ul>
51 </ul>
52 <ul>
53 <li><a href="/help">help</a></li>
54 </ul>
51 </div>
55 </div>
52
56
53 <div class="main">
57 <div class="main">
@@ -213,6 +213,7 b' try bad style'
213 <li><a href="/graph/2ef0ac749a14">graph</a></li>
213 <li><a href="/graph/2ef0ac749a14">graph</a></li>
214 <li><a href="/tags">tags</a></li>
214 <li><a href="/tags">tags</a></li>
215 <li><a href="/branches">branches</a></li>
215 <li><a href="/branches">branches</a></li>
216 <li><a href="/help">help</a></li>
216 </ul>
217 </ul>
217 <ul>
218 <ul>
218 <li><a href="/rev/2ef0ac749a14">changeset</a></li>
219 <li><a href="/rev/2ef0ac749a14">changeset</a></li>
@@ -221,6 +222,9 b' try bad style'
221 <ul>
222 <ul>
222
223
223 </ul>
224 </ul>
225 <ul>
226 <li><a href="/help">help</a></li>
227 </ul>
224 </div>
228 </div>
225
229
226 <div class="main">
230 <div class="main">
General Comments 0
You need to be logged in to leave comments. Login now