commands: document --new-branch flag for push
authorMartin Geisler <mg@aragost.com>
Tue, 25 May 2010 09:57:19 +0200
changeset 11219 39a7f69a0a9a
parent 11218 ffd59c71b8ee
child 11222 e7adcef1504b
commands: document --new-branch flag for push
mercurial/commands.py
--- 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.