Submitter | Gregory Szorc |
---|---|
Date | Feb. 7, 2015, 7:15 a.m. |
Message ID | <466e6f7c2a429eccdf6f.1423293354@gps-mbp.local> |
Download | mbox | patch |
Permalink | /patch/7754/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -702,8 +702,19 @@ def branches(web, req, tmpl): latestentry=lambda **x: entries(1, **x)) @webcommand('summary') def summary(web, req, tmpl): + """ + /summary + -------- + + Show a summary of repository state. + + Information about the latest changesets, bookmarks, tags, and branches + is captured by this handler. + + The ``summary`` template is rendered. + """ i = reversed(web.repo.tagslist()) def tagentries(**map): parity = paritygen(web.stripecount)