# HG changeset patch # User Martin Geisler # Date 1238860983 -7200 # Node ID 20df260ae30184ed8819c6153e5da978727db4f4 # Parent 3d8252430e178f5e01aa9dcfd8e8fd18f9cd27c8 commands: clarify push help text diff -r 3d8252430e17 -r 20df260ae301 mercurial/commands.py --- a/mercurial/commands.py Sat Apr 04 17:51:31 2009 +0200 +++ b/mercurial/commands.py Sat Apr 04 18:03:03 2009 +0200 @@ -2194,17 +2194,17 @@ Push changes from the local repository to the given destination. - This is the symmetrical operation for pull. It helps to move - changes from the current repository to a different one. If the - destination is local this is identical to a pull in that directory - from the current one. + This is the symmetrical operation for pull. It moves changes from + the current repository to a different one. If the destination is + local this is identical to a pull in that directory from the + current one. By default, push will refuse to run if it detects the result would increase the number of remote heads. This generally indicates the the client has forgotten to pull and merge before pushing. - If -r is used, the named changeset and all its ancestors will be pushed - to the remote repository. + If -r is used, the named revision and all its ancestors will be + pushed to the remote repository. Look at the help text for URLs for important details about ssh:// URLs. If DESTINATION is omitted, a default path will be used.