/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 doc/en/user-guide/merging_changes.txt

  • Committer: Lukáš Lalinský
  • Date: 2007-11-30 21:10:18 UTC
  • mto: This revision was merged to the branch mainline in revision 3112.
  • Revision ID: lalinsky@gmail.com-20071130211018-j2w4oxlej3x8qocx
Fix misplaced branch lock in cmd_send.

The branch should be opened and locked outside of the try/finally block, othewise we get an UnboundLocalError exception in "finally" if Branch.open_containing failed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
works as follows. Given an ancestor A and two branches B and C,
43
43
the following table provides the rules used.
44
44
 
45
 
  === === === ====== =================
46
 
   A   B   C  Result Comment
47
 
  === === === ====== =================
48
 
   x   x   x  x      unchanged
49
 
   x   x   y  y      line from C
50
 
   x   y   x  y      line from B
51
 
   x   y   z  ?      conflict
52
 
  === === === ====== =================
 
45
  === === === ========================
 
46
   A   B   C  Result
 
47
  === === === ========================
 
48
   x   x   x  x (unchanged)
 
49
   x   x   y  y (line from C)
 
50
   x   y   x  y (line from B)
 
51
   x   y   z  ? (conflict)
 
52
  === === === ========================
53
53
 
54
54
Note that some merges can only be completed with the assistance
55
55
of a human. Details on how to resolve these are given in
56
 
`Resolving conflicts <resolving_conflicts.html>`_.
 
56
`Resolving conflicts`_.
57
57
 
58
58
Recording a merge
59
59
-----------------