changeset 6803:4a8b9cf62a6b

Document password syntax in repositories URLs
author Andreas Hartmetz <ahartmetz@gmail.com>
date Mon, 07 Jul 2008 09:33:54 +0200
parents 04503b757935
children 694223a29ad4
files mercurial/commands.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jul 07 09:31:32 2008 +0200
+++ b/mercurial/commands.py	Mon Jul 07 09:33:54 2008 +0200
@@ -2026,9 +2026,9 @@
     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 @@
     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