Document password syntax in repositories URLs
authorAndreas Hartmetz <ahartmetz@gmail.com>
Mon, 07 Jul 2008 09:33:54 +0200
changeset 6803 4a8b9cf62a6b
parent 6802 04503b757935
child 6804 694223a29ad4
Document password syntax in repositories URLs
mercurial/commands.py
--- 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