Rev 4859: (igc) Clarify pull help (Patrick Regan) in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Thu Dec 3 21:59:23 GMT 2009
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 4859 [merge]
revision-id: pqm at pqm.ubuntu.com-20091203215430-elkakbmmwsemtu4u
parent: pqm at pqm.ubuntu.com-20091203190924-k1bqsl51kks6qbc5
parent: ian.clatworthy at canonical.com-20091203205618-e0209g60uedfphei
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2009-12-03 21:54:30 +0000
message:
(igc) Clarify pull help (Patrick Regan)
modified:
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2009-12-02 23:14:10 +0000
+++ b/bzrlib/builtins.py 2009-12-03 20:56:18 +0000
@@ -913,16 +913,18 @@
class cmd_pull(Command):
"""Turn this branch into a mirror of another branch.
- This command only works on branches that have not diverged. Branches are
- considered diverged if the destination branch's most recent commit is one
- that has not been merged (directly or indirectly) into the parent.
+ By default, this command only works on branches that have not diverged.
+ Branches are considered diverged if the destination branch's most recent
+ commit is one that has not been merged (directly or indirectly) into the
+ parent.
If branches have diverged, you can use 'bzr merge' to integrate the changes
from one into the other. Once one branch has merged, the other should
be able to pull it again.
- If you want to forget your local changes and just update your branch to
- match the remote one, use pull --overwrite.
+ If you want to replace your local changes and just want your branch to
+ match the remote one, use pull --overwrite. This will work even if the two
+ branches have diverged.
If there is no default location set, the first pull will set it. After
that, you can omit the location to use the default. To change the
More information about the bazaar-commits
mailing list