changeset 11219:39a7f69a0a9a

commands: document --new-branch flag for push
author Martin Geisler <mg@aragost.com>
date Tue, 25 May 2010 09:57:19 +0200
parents ffd59c71b8ee
children e7adcef1504b
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue May 25 09:56:26 2010 +0200
+++ b/mercurial/commands.py	Tue May 25 09:57:19 2010 +0200
@@ -2541,6 +2541,10 @@
     to use. In this situation, it is recommended to pull and merge
     before pushing.
 
+    Use --new-branch if you want to allow push to create a new named
+    branch that is not present at the destination. This allows you to
+    only create a new branch without forcing other changes.
+
     Use -f/--force to override the default behavior and push all
     changesets on all branches.