comparison doc/hg.1.txt @ 962:5730e90c025b

Doc updates for push, pull, hooks, local tags, and ssh options
author mpm@selenic.com
date Fri, 19 Aug 2005 21:47:46 -0800
parents 52d8d81e72ad
children 84355e3e4493
comparison
equal deleted inserted replaced
961:3e11d5038649 962:5730e90c025b
281 281
282 This finds all changes from the repository at the specified path 282 This finds all changes from the repository at the specified path
283 or URL and adds them to the local repository. By default, this 283 or URL and adds them to the local repository. By default, this
284 does not update the copy of the project in the working directory. 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 options: 296 options:
287 -u, --update update the working directory to tip after pull 297 -u, --update update the working directory to tip after pull
288 298
289 push <destination>:: 299 push <destination>::
290 Push changes from the local repository to the given destination. 300 Push changes from the local repository to the given destination.
292 This is the symmetrical operation for pull. It helps to move 302 This is the symmetrical operation for pull. It helps to move
293 changes from the current repository to a different one. If the 303 changes from the current repository to a different one. If the
294 destination is local this is identical to a pull in that directory 304 destination is local this is identical to a pull in that directory
295 from the current one. 305 from the current one.
296 306
297 The other currently available push method is SSH. This requires an 307 By default, push will refuse to run if it detects the result would
298 accessible shell account on the destination machine and a copy of 308 increase the number of remote heads. This generally indicates the
299 hg in the remote path. Destinations are specified in the following 309 the client has forgotten to sync and merge before pushing.
300 form: 310
301 311 Valid URLs are of the form:
302 ssh://[user@]host[:port]/path 312
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 rawcommit [-p -d -u -F -m -l]:: 325 rawcommit [-p -d -u -F -m -l]::
305 Lowlevel commit, for use in helper scripts. 326 Lowlevel commit, for use in helper scripts.
306 327
307 This command is not intended to be used by normal users, as it is 328 This command is not intended to be used by normal users, as it is