##// END OF EJS Templates
improve help text for push (explanation of -r)
Dirkjan Ochtman -
r6620:4f3e0dfa default
parent child Browse files
Show More
@@ -2068,7 +2068,7 b' def push(ui, repo, dest=None, **opts):'
2068
2068
2069 By default, push will refuse to run if it detects the result would
2069 By default, push will refuse to run if it detects the result would
2070 increase the number of remote heads. This generally indicates the
2070 increase the number of remote heads. This generally indicates the
2071 the client has forgotten to sync and merge before pushing.
2071 the client has forgotten to pull and merge before pushing.
2072
2072
2073 Valid URLs are of the form:
2073 Valid URLs are of the form:
2074
2074
@@ -2078,7 +2078,8 b' def push(ui, repo, dest=None, **opts):'
2078 https://[user@]host[:port]/[path]
2078 https://[user@]host[:port]/[path]
2079
2079
2080 An optional identifier after # indicates a particular branch, tag,
2080 An optional identifier after # indicates a particular branch, tag,
2081 or changeset to push.
2081 or changeset to push. If -r is used, the named changeset and all its
2082 ancestors will be pushed to the remote repository.
2082
2083
2083 Look at the help text for the pull command for important details
2084 Look at the help text for the pull command for important details
2084 about ssh:// URLs.
2085 about ssh:// URLs.
General Comments 0
You need to be logged in to leave comments. Login now