improve help text for push (explanation of -r)
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 22 May 2008 13:26:39 +0200
changeset 6620 4f3e0dfa24a9
parent 6611 f4c612da788d
child 6621 d5cbbe2c49ce
improve help text for push (explanation of -r)
mercurial/commands.py
--- a/mercurial/commands.py	Mon May 19 10:22:15 2008 +0200
+++ b/mercurial/commands.py	Thu May 22 13:26:39 2008 +0200
@@ -2068,7 +2068,7 @@
 
     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 sync and merge before pushing.
+    the client has forgotten to pull and merge before pushing.
 
     Valid URLs are of the form:
 
@@ -2078,7 +2078,8 @@
       https://[user@]host[:port]/[path]
 
     An optional identifier after # indicates a particular branch, tag,
-    or changeset to push.
+    or changeset to push. If -r is used, the named changeset and all its
+    ancestors will be pushed to the remote repository.
 
     Look at the help text for the pull command for important details
     about ssh:// URLs.