# HG changeset patch # User Andreas Hartmetz # Date 2008-07-07 07:33:54 # Node ID 4a8b9cf62a6b8b1212cd1a81f4645301498464c0 # Parent 04503b75793594b0e4c276bc46f61812a698b750 Document password syntax in repositories URLs diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2026,9 +2026,9 @@ def pull(ui, repo, source="default", **o Valid URLs are of the form: local/filesystem/path (or file://local/filesystem/path) - http://[user@]host[:port]/[path] - https://[user@]host[:port]/[path] - ssh://[user@]host[:port]/[path] + http://[user[:pass]@]host[:port]/[path] + https://[user[:pass]@]host[:port]/[path] + ssh://[user[:pass]@]host[:port]/[path] static-http://host[:port]/[path] Paths in the local filesystem can either point to Mercurial @@ -2088,9 +2088,9 @@ def push(ui, repo, dest=None, **opts): Valid URLs are of the form: local/filesystem/path (or file://local/filesystem/path) - ssh://[user@]host[:port]/[path] - http://[user@]host[:port]/[path] - https://[user@]host[:port]/[path] + ssh://[user[:pass]@]host[:port]/[path] + http://[user[:pass]@]host[:port]/[path] + https://[user[:pass]@]host[:port]/[path] An optional identifier after # indicates a particular branch, tag, or changeset to push. If -r is used, the named changeset and all its