# HG changeset patch # User David Wolever # Date 1246704034 -7200 # Node ID cd92a6968f70ff8f06764959ec10c20c98f4edd9 # Parent a6225ac2a65686c162f03d520a11bd7d1d282953 help: add #revision syntax to the example valid URLs. diff -r a6225ac2a656 -r cd92a6968f70 mercurial/help.py --- a/mercurial/help.py Sat Jul 04 12:25:10 2009 +0200 +++ b/mercurial/help.py Sat Jul 04 12:40:34 2009 +0200 @@ -449,17 +449,19 @@ _(r''' Valid URLs are of the form: - local/filesystem/path (or file://local/filesystem/path) - http://[user[:pass]@]host[:port]/[path] - https://[user[:pass]@]host[:port]/[path] - ssh://[user[:pass]@]host[:port]/[path] + local/filesystem/path[#revision] + file://local/filesystem/path[#revision] + http://[user[:pass]@]host[:port]/[path][#revision] + https://[user[:pass]@]host[:port]/[path][#revision] + ssh://[user[:pass]@]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'). An optional identifier after # indicates a particular branch, tag, - or changeset to use from the remote repository. + or changeset to use from the remote repository. See also 'hg help + revisions'. Some features, such as pushing to http:// and https:// URLs are only possible if the feature is explicitly enabled on the remote