comparison mercurial/commands.py @ 6803:4a8b9cf62a6b

Document password syntax in repositories URLs
author Andreas Hartmetz <ahartmetz@gmail.com>
date Mon, 07 Jul 2008 09:33:54 +0200
parents 8db64464d136
children d8159dd15db3
comparison
equal deleted inserted replaced
6802:04503b757935 6803:4a8b9cf62a6b
2024 does not update the copy of the project in the working directory. 2024 does not update the copy of the project in the working directory.
2025 2025
2026 Valid URLs are of the form: 2026 Valid URLs are of the form:
2027 2027
2028 local/filesystem/path (or file://local/filesystem/path) 2028 local/filesystem/path (or file://local/filesystem/path)
2029 http://[user@]host[:port]/[path] 2029 http://[user[:pass]@]host[:port]/[path]
2030 https://[user@]host[:port]/[path] 2030 https://[user[:pass]@]host[:port]/[path]
2031 ssh://[user@]host[:port]/[path] 2031 ssh://[user[:pass]@]host[:port]/[path]
2032 static-http://host[:port]/[path] 2032 static-http://host[:port]/[path]
2033 2033
2034 Paths in the local filesystem can either point to Mercurial 2034 Paths in the local filesystem can either point to Mercurial
2035 repositories or to bundle files (as created by 'hg bundle' or 2035 repositories or to bundle files (as created by 'hg bundle' or
2036 'hg incoming --bundle'). The static-http:// protocol, albeit slow, 2036 'hg incoming --bundle'). The static-http:// protocol, albeit slow,
2086 the client has forgotten to pull and merge before pushing. 2086 the client has forgotten to pull and merge before pushing.
2087 2087
2088 Valid URLs are of the form: 2088 Valid URLs are of the form:
2089 2089
2090 local/filesystem/path (or file://local/filesystem/path) 2090 local/filesystem/path (or file://local/filesystem/path)
2091 ssh://[user@]host[:port]/[path] 2091 ssh://[user[:pass]@]host[:port]/[path]
2092 http://[user@]host[:port]/[path] 2092 http://[user[:pass]@]host[:port]/[path]
2093 https://[user@]host[:port]/[path] 2093 https://[user[:pass]@]host[:port]/[path]
2094 2094
2095 An optional identifier after # indicates a particular branch, tag, 2095 An optional identifier after # indicates a particular branch, tag,
2096 or changeset to push. If -r is used, the named changeset and all its 2096 or changeset to push. If -r is used, the named changeset and all its
2097 ancestors will be pushed to the remote repository. 2097 ancestors will be pushed to the remote repository.
2098 2098