Mercurial > hg
changeset 9023:cd92a6968f70
help: add #revision syntax to the example valid URLs.
author | David Wolever <wolever@cs.toronto.edu> |
---|---|
date | Sat, 04 Jul 2009 12:40:34 +0200 |
parents | a6225ac2a656 |
children | 10532b29cdee |
files | mercurial/help.py |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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