# HG changeset patch # User Martin Geisler # Date 1274774239 -7200 # Node ID 39a7f69a0a9a04bcd0135daa165e89c696a71c35 # Parent ffd59c71b8ee13dc75bdc2bc4e98ab0d49a506fb commands: document --new-branch flag for push diff -r ffd59c71b8ee -r 39a7f69a0a9a 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.