Show More
@@ -350,6 +350,20 b' def shortlog(web, req, tmpl):' | |||||
350 |
|
350 | |||
351 | @webcommand('changeset') |
|
351 | @webcommand('changeset') | |
352 | def changeset(web, req, tmpl): |
|
352 | def changeset(web, req, tmpl): | |
|
353 | """ | |||
|
354 | /changeset[/{revision}] | |||
|
355 | ----------------------- | |||
|
356 | ||||
|
357 | Show information about a single changeset. | |||
|
358 | ||||
|
359 | A URL path argument is the changeset identifier to show. See ``hg help | |||
|
360 | revisions`` for possible values. If not defined, the ``tip`` changeset | |||
|
361 | will be shown. | |||
|
362 | ||||
|
363 | The ``changeset`` template is rendered. Contents of the ``changesettag``, | |||
|
364 | ``changesetbookmark``, ``filenodelink``, ``filenolink``, and the many | |||
|
365 | templates related to diffs may all be used to produce the output. | |||
|
366 | """ | |||
353 | ctx = webutil.changectx(web.repo, req) |
|
367 | ctx = webutil.changectx(web.repo, req) | |
354 | basectx = webutil.basechangectx(web.repo, req) |
|
368 | basectx = webutil.basechangectx(web.repo, req) | |
355 | if basectx is None: |
|
369 | if basectx is None: |
General Comments 0
You need to be logged in to leave comments.
Login now