/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/en/diverged-branches.txt

  • Committer: Robert Collins
  • Date: 2010-05-05 00:05:29 UTC
  • mto: This revision was merged to the branch mainline in revision 5206.
  • Revision ID: robertc@robertcollins.net-20100505000529-ltmllyms5watqj5u
Make 'pydoc bzrlib.tests.build_tree_shape' useful.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
Discovering What Has Diverged
18
18
-----------------------------
19
19
 
20
 
The ``brz missing`` command is used to find out what revisions are in another
 
20
The ``bzr missing`` command is used to find out what revisions are in another
21
21
branch that are not present in the current branch, and vice-versa.  It shows a
22
22
summary of  which extra revisions exist in each branch.  If you want to see the
23
 
precise effects of those revisions, you can use ``brz diff --old=other_branch``
 
23
precise effects of those revisions, you can use ``bzr diff --old=other_branch``
24
24
to show the differences between other_branch and your current branch.
25
25
 
26
26
A Solution
27
27
----------
28
28
 
29
29
The solution is to merge the revisions from the mainline into your local
30
 
branch.  To do so, use ``brz merge`` to get the new revisions from the
 
30
branch.  To do so, use ``bzr merge`` to get the new revisions from the
31
31
mainline.  This merge may result in conflicts if the other developer's changes
32
32
overlap with your changes.  These conflicts should be resolved before
33
33
continuing. After any conflicts have been resolved, or even if there were no
35
35
to your local branch.  This requirement gives you an opportunity to test the
36
36
resulting working tree for correctness, since the merged revisions could have
37
37
made arbitrary changes.  After testing, you should commit the merge using
38
 
``brz commit``.  This clears up the diverged branches situation.  Your local
 
38
``bzr commit``.  This clears up the diverged branches situation.  Your local
39
39
branch can now be pushed to the mainline.