[PATCH 16 of 22 hgweb-help] webcommands: document "summary" web command
Gregory Szorc
gregory.szorc at gmail.com
Sat Feb 7 07:15:54 UTC 2015
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1423288312 28800
# Fri Feb 06 21:51:52 2015 -0800
# Node ID 466e6f7c2a429eccdf6fb1eb0d1b8dcb50ff881e
# Parent 88f6e14c90ff0e9b358baf40bd43de8d4da81374
webcommands: document "summary" web command
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)
More information about the Mercurial-devel
mailing list