Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 19197:01d68fb07915 stable
help: stop documentation markup appearing in generated help
Markup for links to mercurial commands is appearing in the help
documentation.
This patch fixes the markup so mercurial command reference links are
correctly generated in the help documentation.
author | Mike Williams <mrw@eandem.co.uk> |
---|---|
date | Wed, 15 May 2013 22:19:12 +0100 |
parents | 12dbdd348bb0 |
children | 4b9e5b71dfa9 2b4344f23b44 |
comparison
equal
deleted
inserted
replaced
19193:278057693a1d | 19197:01d68fb07915 |
---|---|
4915 _('[OPTION]... [-r REV] [NAME]...')) | 4915 _('[OPTION]... [-r REV] [NAME]...')) |
4916 def revert(ui, repo, *pats, **opts): | 4916 def revert(ui, repo, *pats, **opts): |
4917 """restore files to their checkout state | 4917 """restore files to their checkout state |
4918 | 4918 |
4919 .. note:: | 4919 .. note:: |
4920 | |
4921 To check out earlier revisions, you should use :hg:`update REV`. | 4920 To check out earlier revisions, you should use :hg:`update REV`. |
4922 To cancel an uncommitted merge (and lose your changes), use | 4921 To cancel an uncommitted merge (and lose your changes), use |
4923 :hg:`update --clean .`. | 4922 :hg:`update --clean .`. |
4924 | 4923 |
4925 With no revision specified, revert the specified files or directories | 4924 With no revision specified, revert the specified files or directories |