comparison mercurial/commands.py @ 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 d1908cb95a82
comparison
equal deleted inserted replaced
11218:ffd59c71b8ee 11219:39a7f69a0a9a
2538 2538
2539 By default, push will not allow creation of new heads at the 2539 By default, push will not allow creation of new heads at the
2540 destination, since multiple heads would make it unclear which head 2540 destination, since multiple heads would make it unclear which head
2541 to use. In this situation, it is recommended to pull and merge 2541 to use. In this situation, it is recommended to pull and merge
2542 before pushing. 2542 before pushing.
2543
2544 Use --new-branch if you want to allow push to create a new named
2545 branch that is not present at the destination. This allows you to
2546 only create a new branch without forcing other changes.
2543 2547
2544 Use -f/--force to override the default behavior and push all 2548 Use -f/--force to override the default behavior and push all
2545 changesets on all branches. 2549 changesets on all branches.
2546 2550
2547 If -r/--rev is used, the specified revision and all its ancestors 2551 If -r/--rev is used, the specified revision and all its ancestors