Show More
@@ -2115,10 +2115,17 b' def pull(ui, repo, source="default", **o' | |||||
2115 |
|
2115 | |||
2116 | Valid URLs are of the form: |
|
2116 | Valid URLs are of the form: | |
2117 |
|
2117 | |||
2118 | local/filesystem/path |
|
2118 | local/filesystem/path (or file://local/filesystem/path) | |
2119 | http://[user@]host[:port]/[path] |
|
2119 | http://[user@]host[:port]/[path] | |
2120 | https://[user@]host[:port]/[path] |
|
2120 | https://[user@]host[:port]/[path] | |
2121 | ssh://[user@]host[:port]/[path] |
|
2121 | ssh://[user@]host[:port]/[path] | |
|
2122 | static-http://host[:port]/[path] | |||
|
2123 | ||||
|
2124 | Paths in the local filesystem can either point to Mercurial | |||
|
2125 | repositories or to bundle files (as created by 'hg bundle' or | |||
|
2126 | 'hg incoming --bundle'). The static-http:// protocol, albeit slow, | |||
|
2127 | allows access to a Mercurial repository where you simply use a web | |||
|
2128 | server to publish the .hg directory as static content. | |||
2122 |
|
2129 | |||
2123 | Some notes about using SSH with Mercurial: |
|
2130 | Some notes about using SSH with Mercurial: | |
2124 | - SSH requires an accessible shell account on the destination machine |
|
2131 | - SSH requires an accessible shell account on the destination machine | |
@@ -2166,14 +2173,16 b' def push(ui, repo, dest=None, **opts):' | |||||
2166 |
|
2173 | |||
2167 | Valid URLs are of the form: |
|
2174 | Valid URLs are of the form: | |
2168 |
|
2175 | |||
2169 | local/filesystem/path |
|
2176 | local/filesystem/path (or file://local/filesystem/path) | |
2170 | ssh://[user@]host[:port]/[path] |
|
2177 | ssh://[user@]host[:port]/[path] | |
|
2178 | http://[user@]host[:port]/[path] | |||
|
2179 | https://[user@]host[:port]/[path] | |||
2171 |
|
2180 | |||
2172 | Look at the help text for the pull command for important details |
|
2181 | Look at the help text for the pull command for important details | |
2173 | about ssh:// URLs. |
|
2182 | about ssh:// URLs. | |
2174 |
|
2183 | |||
2175 |
Pushing to http:// and https:// URLs is possible |
|
2184 | Pushing to http:// and https:// URLs is only possible, if this | |
2176 | feature is enabled on the remote Mercurial server. |
|
2185 | feature is explicitly enabled on the remote Mercurial server. | |
2177 | """ |
|
2186 | """ | |
2178 | dest = ui.expandpath(dest or 'default-push', dest or 'default') |
|
2187 | dest = ui.expandpath(dest or 'default-push', dest or 'default') | |
2179 | setremoteconfig(ui, opts) |
|
2188 | setremoteconfig(ui, opts) |
General Comments 0
You need to be logged in to leave comments.
Login now