# HG changeset patch # User Dirkjan Ochtman # Date 1211455599 -7200 # Node ID 4f3e0dfa24a939ec78701c41d27b8d972a3efddf # Parent f4c612da788de2f93a9c4ef2b2ed3832b42518dc improve help text for push (explanation of -r) diff -r f4c612da788d -r 4f3e0dfa24a9 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.