diff --git a/mercurial/commands.py b/mercurial/commands.py index 5130240a45..8d8ec97a7b 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4917,7 +4917,6 @@ def revert(ui, repo, *pats, **opts): """restore files to their checkout state .. note:: - To check out earlier revisions, you should use :hg:`update REV`. To cancel an uncommitted merge (and lose your changes), use :hg:`update --clean .`. diff --git a/mercurial/help/urls.txt b/mercurial/help/urls.txt index 016d5bdfdd..1d4ff53bcc 100644 --- a/mercurial/help/urls.txt +++ b/mercurial/help/urls.txt @@ -7,8 +7,8 @@ Valid URLs are of the form:: ssh://[user@]host[:port]/[path][#revision] Paths in the local filesystem can either point to Mercurial -repositories or to bundle files (as created by :hg:`bundle` or :hg:` -incoming --bundle`). See also :hg:`help paths`. +repositories or to bundle files (as created by :hg:`bundle` or +:hg:`incoming --bundle`). See also :hg:`help paths`. An optional identifier after # indicates a particular branch, tag, or changeset to use from the remote repository. See also :hg:`help