##// END OF EJS Templates
Doc updates for push, pull, hooks, local tags, and ssh options
mpm@selenic.com -
r962:5730e90c default
parent child Browse files
Show More
@@ -283,6 +283,16 b' pull <repository path>::'
283 283 or URL and adds them to the local repository. By default, this
284 284 does not update the copy of the project in the working directory.
285 285
286 Valid URLs are of the form:
287
288 local/filesystem/path
289 http://[user@]host[:port][/path]
290 https://[user@]host[:port][/path]
291 ssh://[user@]host[:port][/path]
292
293 SSH requires an accessible shell account on the destination
294 machine and a copy of hg in the remote path.
295
286 296 options:
287 297 -u, --update update the working directory to tip after pull
288 298
@@ -294,12 +304,23 b' push <destination>::'
294 304 destination is local this is identical to a pull in that directory
295 305 from the current one.
296 306
297 The other currently available push method is SSH. This requires an
298 accessible shell account on the destination machine and a copy of
299 hg in the remote path. Destinations are specified in the following
300 form:
307 By default, push will refuse to run if it detects the result would
308 increase the number of remote heads. This generally indicates the
309 the client has forgotten to sync and merge before pushing.
310
311 Valid URLs are of the form:
301 312
302 ssh://[user@]host[:port]/path
313 local/filesystem/path
314 ssh://[user@]host[:port][/path]
315
316 SSH requires an accessible shell account on the destination
317 machine and a copy of hg in the remote path.
318
319 options:
320
321 -f, --force force update
322 -e, --ssh specify ssh command to use
323 --remotecmd specify hg command to run on the remote side
303 324
304 325 rawcommit [-p -d -u -F -m -l]::
305 326 Lowlevel commit, for use in helper scripts.
@@ -70,6 +70,8 b' hooks::'
70 70 commit;;
71 71 Run after a changeset has been created. Passed the ID of the newly
72 72 created changeset.
73 changegroup;;
74 Run after a changegroup has been added via push or pull.
73 75
74 76 http_proxy::
75 77 Used to access web-based Mercurial repositories through a HTTP
@@ -90,11 +92,6 b' paths::'
90 92 symbolic name, and the right gives the directory or URL that is the
91 93 location of the repository.
92 94
93 tags::
94 Tags that are local to a repository and not distributed or version
95 controlled. The left side is the tag name, and the right is the
96 ID of the changeset to identify.
97
98 95 ui::
99 96 User interface controls.
100 97 debug;;
@@ -114,6 +111,11 b' ui::'
114 111 <fred@example.com>". Default is $EMAIL or username@hostname.
115 112 verbose;;
116 113 Increase the amount of output printed. True or False. Default is False.
114 ssh;;
115 command to use for SSH connections. Default is 'ssh'.
116 remotecmd;;
117 command to use for remote push operations. Default is 'hg'.
118
117 119
118 120 web::
119 121 Web interface configuration.
General Comments 0
You need to be logged in to leave comments. Login now